5

I made a file size 320*370, however they become 321*370 while I export them into png?? Things happen to every files unless there is only one artboard in the file. Always 1 px more from what I originally set. Any idea how can this be fixed?

  • 2
    Is your artboard exactly on the pixel or is it ioffset? – joojaa Dec 8 '16 at 10:50
  • 2
    There is a chance your inage is not pixel perfectly aligned, and the extra pixel is an anti alias column. – Rafael Dec 8 '16 at 21:44
  • My exports were also 1 pixel off in some of my images. Aligning my artboards to the pixel grid as joojaa recommended resolved the issue. – Bill Campbell Oct 29 '17 at 22:20
1

Your art is outside your artboard. Export don't use artboard size but the draw a square that contain all boxes. So if for example you have text box and your text is 320 but the text box is 324 then the export will be 324.

Use "safe for web" as is use artboard size when saving for png.

1

My exports were also 1 pixel off in some of my images. Aligning my artboards to the pixel grid as joojaa recommended resolved the issue.

1

This is caused when the artboard is on decimal pixel value on X and Y, and when the size of the artboard is decimal as well Make sure that your artboards are located on integer values on the X and Y axis and has integer Width and Height.

Try to rearrange them putting a integer value between them! Cheers!

0

Does the same thing happen whether you SAVE AS or if you SAVE FOR WEB? The SAVE FOR WEB is much better because it gives more options (exact sizing and image quality). And SAVE FOR WEB offers previews of the final PNG with pre-calculated file size.

0
  1. Make sure each object you want to export is in separate artboards.
  2. Select all the objects.
  3. Go to File -> Export Selection.
  4. Go to 'Artboards' tab, Tick off the 'Include Bleed' box under the artboard range.
  5. Set the artboard range and choose your desired format.
  6. Click 'Export Artboard'.

Done! Now every images that you exported will be as the same as the artboard sizes you set.

protected by DᴀʀᴛʜVᴀᴅᴇʀ Mar 26 at 15:31

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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