Skip to main content
Participant
October 4, 2011
Answered

Illustrator not exporting at correct pixel size...

  • October 4, 2011
  • 12 replies
  • 90882 views

Hi, im having trouble setting up an illustrator doc that exports at the correct size so i can work with exported elements in photoshop, using CS5 for both.

What i am trying to do is set up a wireframe illustrator doc for creating iphone 4 artwork, the iphone4 screen size is 640px x 960px (326ppi).

So, i have set illustrator to measure units (general, stroke & type) in pixels, then created an artboard 640 x 960. If i draw a shape to fill the artboard then export it, the exported image is 2892px x 4348px

Similarly, if i create an image in photoshop thats 640px x 960px, then open that image with illustrator, the artboard thats created for it is 141.35px x 212.025px

Can anyone suggest what might be causing this? and how i can correct it so that my pixel measurements match in both programs?

thanks

Richard

Correct answer Jacob Bugge

Richard,

The issue is your somehow using the resolution 326 PPI. Stop doing that.

A pixel is a relative size; the size in absolute units such as inches, millimeters, or points, depends on the resolution. You may have a 1 x 1 pixel image the size of a football field, and a 1000 x 1000 px image the size of a stamp.

In other words, when you have an image with a size in pixel x pixel, that and that alone is your image size in the file, which may then become any size on any of the possible chosen media.

You may use Save for Web & Devices for a task like this, using the Artboard or the Image Size window to set the size in px x px.

Edit: Hi Monika.

12 replies

Jacob Bugge
Community Expert
Jacob BuggeCommunity ExpertCorrect answer
Community Expert
October 4, 2011

Richard,

The issue is your somehow using the resolution 326 PPI. Stop doing that.

A pixel is a relative size; the size in absolute units such as inches, millimeters, or points, depends on the resolution. You may have a 1 x 1 pixel image the size of a football field, and a 1000 x 1000 px image the size of a stamp.

In other words, when you have an image with a size in pixel x pixel, that and that alone is your image size in the file, which may then become any size on any of the possible chosen media.

You may use Save for Web & Devices for a task like this, using the Artboard or the Image Size window to set the size in px x px.

Edit: Hi Monika.

Jongware
Community Expert
Community Expert
October 4, 2011

Jacob Bugge wrote:

A pixel is a relative size; the size in absolute units such as inches, millimeters, or points, depends on the resolution.

Pixels are not a 'relative size'! If I create a 100 x 100 pixels image and send it to someone else, he will also see it as a 100 x 100 pixel image.

It's only because Adobe chose to elevate the "pixel" to have the same status as the millimeter and the pica point that users continue to have this sort of problems. Is it possible to suggest to have a feature removed in a newer version?

Monika Gause
Community Expert
Community Expert
October 5, 2011

ok guys, thanks for the advise (and the history lesson…)

However, if i export from illustrator at 72ppi, the file is the correct pixel width & height but… iPhone 4s retina display is 326ppi which i would obviously want to take advantage of… Is there a way to counter for this with 'save for web and devices'?

am i just missing something...


Should be sufficient to have the correct number of pixels. But of course you can use Photoshop or any other image editing software to reset the resolution. This won't change anything in the image

Monika Gause
Community Expert
Community Expert
October 4, 2011

In order to export that in the correct pixel size, you have to export it at 72 ppi

Participant
March 27, 2020

best answer