Extra pixel added to image size when exported
When I use "Export for Screens" export option to batch-export artboards many of the resulting JPGs are a pixel larger vertically and/or horizontally that the artboard dimensions within Illustrator. For example I exported a dozen images with artboard sizes of 1200px wide and 1200px high. After exporting the resulting JPGs have a dimension of 1201px wide and/or high. This only happens on some of the exported files and only some of those are effected vertically and horizontally.
Mac OS X Mojave 10.14.4
Illustrator 23.0.3
-
illustrator bug.jpg 238 KB -
Screen Shot 2021-12-02 at 9.51.52 am.png 1758 KB -
exporting-issue.png 59 KB -
2021-06-16 14-20-32.mp4 4208 KB -
illustrator_export_bug_2.png 28 KB -
illustrator_export_bug.png 40 KB -
SD21-000-SittingDuckWebinar-ads-GW-v1.ai 4912 KB -
sample exports.ai 1202 KB -
Screenshot 2020-10-27 at 14.34.35.png 614 KB -
Screenshot 2020-10-27 at 14.34.08.png 677 KB -
Screenshot 2020-10-27 at 14.34.35.png 614 KB -
Screenshot 2020-10-27 at 14.34.08.png 677 KB -
bug_01.gif 109 KB -
2urn-shot_1226.png 280 KB -
Export wrong size.ai 155 KB

This issue is probably happening because the artboard dimensions are not appropriate for raster export (i.e. are in decimals).
If you make x and y values as the whole numbers in the transform panel (not in decimal), then the extra pixels will not be added to the exported image.
That is the workaround, and it’s reported that it’s not always the case.
At the same time — Ai knows the size of artboards to be exported and yet it does not deliver the set sizes, which is not fair. The team is going to rethink the algorithm.
-
Tejas commented
"Save for Web" does not not have this issue.
-
Spas Genev commented
Exporting PNG files with the "Export for screens" adds additional pixel in both width and height values. I don't see a logical explanation, it shouldn't be the bleed option.
-
Trifox commented
Windows 10
Adobe Illustrator (Desktop) 25.2.3When saving banner ads in illustrator individually (Save for Web Legacy) the files come out the right size. When batch exporting with 'Export for Screens' some of my ads end up with 1 extra pixel on width. Normally nobody would notice this, but my ads can't be used when they have just 1 extra pixel. So for now, I have to manually export each one. Please fix this bug, as it costs me extra time now.
Video here: https://youtu.be/n3sM9o1OK4U
-
Kaja, make sure that your artboard’s coordinates (X, Y) are integer.
-
Kaja Bergseth commented
SYSTEM DETAILS
OS Name Microsoft Windows 10 Home
Version 10.0.19042 Build 19042
OS Manufacturer Microsoft Corporation
System Manufacturer HP
System Model OMEN by HP Laptop 15-dc0xxx
System Type x64-based PC
Processor Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 2208 Mhz, 6 Core(s), 12 Logical Processor(s)Illustrator 25.2.3 (64-bit)
---Steps to reproduce (not consistently happening though?):
- Make artboard in Illustrator 4096x4096 (or other power of 2 canvas)
- Make something on it
- Export for Screens, export artboard, png filetype
- BUG: Exported .png has the dimensions 4097x4096 in Properties->Details
- Import to Unity
- Upgrade MaxSize compression to 4096
- Inspector now says the file can't be compressed because it isn't in the right format (it is now 4096x4095)Expected result:
- File compresses correctly and stays as 4096x4096.
- The expected result seems to work fine if exporting from Illustrator with "Save for Web" -
Roger commented
Version 25.2.3 sobre OSX 10.14.6
Al exportar para pantallas, a una formato imagen JPG o PNG no respeta la medida de las mesas de trabajo. La mesa de trabajo miden 670x378px y el archivo exportado 671x378px. Las medidas del documento son pixeles.
No hay forma de exportar correctamente y no tener que reajustar las medidas de los archivos? -
D commented
On a Mac I'm seeing a similar issue. Creating an art board that is 167x167 and Illustrator is exporting out 168x168 PNG.
PDF export size is perfect.
Playing fractional units becomes a little more bizarre with the width of 167 working if I'm using 166.1 but using the same value for width still results in the width being 168. Something totally wrong with PNG Export of an artboard.
Tried pixel perfect and adjusting sizes to pixel boundaries.
-
Ton commented
When I export a black square with Asset Export to a png file. the file has a white border. With previous versions of Illustrator this didn't happen. Now I have to check and change every file in photoshop.
-
Laetitia commented
When I save my digital ads, if I do a batch export (File > Export > Export for Screens), some of the files end up getting an extra pixel. For example a 120x600 px jpeg becomes 121x600 px. Then I have to fix each file one by one in photoshop, which defeats the purpose.
(ps: I work on a macbook pro with big sur OS and illustrator desktop latest version 25.1) -
GWest-SD commented
I have a file with several different sized artboards for digital ad creation. When I go to export the files to either PNG or JPEG, two things happen:
1) Even with the export resolution set at 72ppi, all the files export at 71ppi (according to Bridge).
2) Some of the files have an extra pixel added to the width, but some don't. It seems to be random. For example, the 1024x768 exports fine, but the inverse dimension exports at 769x1024.
I have tried the "Export for Screens" option and got the same result.
Very odd.
-
Saji daniel commented
Hi Team
When you export artboards as Jpg, it gets exported with 1 Pixel short.
Can it be fixed. -
melissa commented
How does this not have more people voting for it? There are entire forum posts discussing this issue on the adobe support community website. https://community.adobe.com/t5/illustrator/illustrator-cc-export-for-screens-1-pixel-off-in-size/td-p/10001913?page=1
-
melissa commented
Why does this happen???
-
Justin Lowery commented
This appears to be a longstanding bug that Adobe has failed to address for years. It is also present in the iPad version of Illustrator.
See here, from 2018:
https://logosbynick.com/illustrator-exports-1-pixel-more/ -
Steve commented
Doesn't seem to be affected with or without bleed, both export wrong size
-
Steve commented
If document setting is set to pixels instead of inches, the export is off by 1 pixel
-
Steve commented
I have noticed this problem on CC2020 as well as 2021 version exporting files the wrong size.. typically off .003 - .007 (inch) - Example a 1x1 in square with a .05 in bleed all sides "export as" with artboards exports as 1.1 x 1.103 in. A 3.5x1.25 in exports as 3.603x1.603in
Attached is a simple sample file.. few different sized artboards
When exporting I've confirmed JPG, PNG, TIF (and perhaps others) all export the wrong size when a bleed is set in document settings.
I've tried various bleed settings and does not seem to change the sizes still are being exported wrong sizes. This problem didn't exist in the 2019 version thus some update in 2020 brought this on.
-
Anonymous commented
Obviously this must be exhausing for Adobe dev team... :(
-
Sam commented
I am trying to do some titles for a video 1920 x 1080 resolution, and when "export as" is used to rasterise the the title panels, they come out at 1921 x 1081 which is causing many problems down stream of the files I created.
Ai V24.3
Mac Os V10.14 -
Anonymous commented
AsI'm "Exporting for Screens" few dartboards at once I have 300 by 600 pix one. It is EXACTLY this size as dartboard, but the JPG comes az 300 by 601 pix.