77 votes66 comments · Illustrator (Desktop) Feature Requests » File Save, Import and Export · Flag idea as inappropriate… · Admin →Under Review · AdminNitish Agarwal (Illustrator on Web/iPad Team) (Lead Software Engineer, Adobe Illustrator) responded
If you will export artboards in any fractional scale or by specifying height and width you will get correct output.
The best way to not get an extra pixel is keep your artboard coordinates in integers. You can achieve that by changing the reference point of artboard to top left and typing in the nearest integer or do Make Pixel Perfect(Object > Make Pixel Perfect). If size of your artboard is increased please manage that accordingly and export.
Thanks & Regards
An error occurred while saving the commentVictoria Kulieva commented
Just found a solution that works for me. While exporting a file I put ppi in increments of 72.
Let me explain:
- 1 inch = 72px - > 1 px = 0.0138(8) inches BUT Illustrator rounds this off to 0.0139 inches
- ppi - pixels per inch
If my art work is 300x300px and I export it with ppi = 1200 there will be some background calculation from pixels to inches then multiplying by ppi rate:
300 px = 4.1667 inches (Illustrator also rounds it off) - > 4.1667 in * 1200 ppi = 5000.04px
I suppose that because of this fact sometimes I get an 5000x5001 image instead of 5000x5000 one.
So if I put 1224ppi (72px*17) I get 5100x5100 image without additional pixels.
For those who work with inches in Illustrator that's not a problem but if you work with pixels you need to think about that.