Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I have a file which is 1020px X 200px Artboard/Document dimensions and the drawings coves the whole artboard as follows.


When I "Export" the file as "png" (File>Export) it's dimensions change to 4250px X 458px as follows.


However when I use "Save for Web & Devices" (File>Save for Web & Devices" and save as "png" it's dimensions remain the same i.e., 1020px X 100px as follows.

Save As

Any idea why this is happening? Files are saved with similiar options viz. png-24 format, clip to artboard, save as background, interlaced, rgb color profile.

share|improve this question

3 Answers 3

up vote 3 down vote accepted

Tick the "Use Artboards" option when exporting if you want image to match artboard sizes. Otherwise, the image exports at it's given size, not the artboard size.

The vast difference in export sizes could be due to raster effects like the drop shadow.

Also, (based on comments below) a file exported at 300ppi will be much larger in terms of dimensions than a file exported at 72ppi. Since png files don't store data such as ppi, the file dimensions are adjusted to accomodate a higher resolution.

share|improve this answer
When checking the option of "Use Artboards" in the Export, a new size of 4250px X 417px is acheived. The drop shadow is only 5px on x-axis with 5px blur. Also when unchecking the option of "Clip to Artboard" in image size tab under "Save for Web & Devices", the size shows 1020px X 110px. –  Jawad Aug 26 '12 at 21:44
Try clearing guides. Other than that, all I can think is there must be some other item in the file causing the size increase. A hidden layer or object maybe? –  Scott Aug 26 '12 at 21:46
Clearing guides does not help. Not also completely deleting them. Also I have checked very closely by selecting all and also searching in the layers panel. Only 5 objects and all have small dimensions as shown in the layers panel. –  Jawad Aug 26 '12 at 21:54
Maybe a resolution issue? Exporting as jpeg has size of 9500px X 980px. –  Jawad Aug 26 '12 at 21:59
Could be.. Check Effects > Document Raster Effects Settings –  Scott Aug 26 '12 at 22:03

To match the same size of the artboard you must export it with a resolution of 72ppi. If you change it to 150ppi or 300ppi (or any other), the PNG will increase its size in order to fit that resolution

share|improve this answer
thanks.......... –  Jawad Aug 23 '13 at 17:17

You were exporting at High (300dpi) resolution. On the other hand, "Save for Web" has an automatic resolution of 72dpi. The 300dpi PNG is larger than the 72dpi PNG because the number of pixels in the image has increased, while the print size has remained the same.

It's easy to Export an image to PNG with specific pixel dimensions if the target resolution is 72dpi. Simply set up the Artboard to exact pixel dimensions and Export with "Use Artboards" selected.

However, exporting an image in Adobe Illustrator to PNG format with specific pixel dimensions using the High (300 dpi) resolution setting, unfortunately seems to require math on a user's part and potential manual resizing of artwork. I haven't found any automated solution for this in Illustrator settings nor online.


  1. Divide your final desired pixel width by 4.166 (Using the example from the question, 1020px / 4.166 = 244.839).

  2. In Illustrator, set General Unit Preferences to "Pixels."

  3. Create a blank Artboard at your final desired pixel dimensions (in this example, 1020px x 100px) or resize an existing Artboard to your final desired pixel dimensions.

  4. Keeping proportions locked, change the Artboard width to the quotient in step 2, rounded up or down to a whole number, as appropriate. (In this example, the width would now be 245px and the height will have automatically changed in relation to the width to 24px).

  5. Add art to Artboard or resize existing artwork to fit.

  6. Export to PNG with "Use Artboards" specified, using High (300 dpi) resolution.

The result should be a PNG file of the image with 300dpi resolution and final desired pixel dimensions (in the example, 1020px x 100px).

By the way, "4.166" represents the amount of enlargement that occurs when a 72dpi image is converted to 300dpi. If you Export a file in Illustrator to PNG format with the Artboard set up to your final desired pixel dimensions, and with "Use Artboards" and High (300dpi) resolution specified, the dimensions of the resulting PNG file will be 4.166 times larger than your final desired dimensions.

Converted pixel width, at 300dpi / final desired pixel width, at 72dpi = 4.166 (Using example, 4250 / 1020 = 4.166)

I'd love to know if anyone knows of an automated way of doing this!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.