Illustrator exports 1 pixel more

Quick Fix: Why Illustrator Exports 1 Pixel More To Each Dimension

Quick Fix: Why Illustrator Exports 1 Pixel More To Each Dimension 1024 602 Nick Saporito

Today I’ll be addressing a rather frustrating glitch in Adobe Illustrator CC. For whatever reason, Illustrator exports 1 pixel more to each dimension of a PNG or JPG file. The fix is quite simple though.

Why Illustrator Adds That Extra Pixel

After doing a little digging around, I discovered (thanks to Pixel & Bracket on YouTube) that it’s because of the position of the artboard on the canvas as it relates to the X and Y axis.

Whenever the artboard is positioned in a location that includes a decimal value, Illustrator rounds up to the nearest pixel, meaning your exported document ends up being 1 pixel larger than the actual artboard on each dimension.

Changing the position of the artboard on the canvas

If you grab the artboard tool (shift + o) and select your artboard, you’ll see in the top toolbar where it’s positioned relative to the X and Y axis. The decimal values are highlighted in yellow. This is the culprit.

The Fix

The fix is quite easy. All you have to do is manually remove the decimal values from each axis and that should prevent Illustrator from exporting 1 pixel more.

Updated X and Y axis values

Once you’ve done so, be sure to re-center your design relative to the artboard. The position of it has now changed and will not export properly if you don’t, even if it’s just a slight decimal change.

Now try exporting your design again. It should export at the proper dimensions.

If any portion of these directions is unclear, be sure to watch the brief 2-minute video tutorial I put together at the top of the post.

Apparently this glitch has gone unaddressed by Adobe for a while because search queries for it date all the way back to 2013. I’m used to dealing with glitches like this when using Open Source software, but when it comes to industry-standard software that costs a lot of money, I expect better. Hopefully Adobe addresses this soon.

Learn To Master The Software

Gain a complete understanding of your favorite design apps with my comprehensive collection of video courses. Each course grants access to our private community where you can ask questions and get help when needed.

  81 Videos
  11 Modules

The Inkscape Master Class

Tutorials, quizzes and practice exercises for learning every tool & feature in Inkscape.

Price: $17
  82 Videos
  10 Modules

The Affinity V3 Master Class

Tutorials, quizzes and practice exercises for learning every tool & feature in Affinity.

Price: $22
  98 Videos
  7 Modules

Illustrator Master Class

Tutorials, quizzes and practice exercises for learning every tool & feature in Illustrator.

Price: $17
  70 Videos
  9 Modules

GIMP Master Class

Learn how to use all of the primary tools and features in the GIMP application.

Price: $17

View All Courses

Nick Saporito

Hi, I'm Nick— a Philadelphia-based graphic designer with over 10 years of experience. Each year millions of users learn how to use design software to express their creativity using my tutorials here and on YouTube.

All stories by: Nick Saporito
Subscribe
Notify of
guest
65 Comments
Inline Feedbacks
View all comments
Raul
Raul
July 26, 2022 4:44 AM

Thank you very much! I couldn’t find the answer by myself!

Luis Ortiz
Luis Ortiz
July 7, 2022 3:32 PM

ESP: Me funciona muy bien ir a menú “VER” y hacer clic en ajustar al pixel y dejarlo predeterminado para los nuevos documentos hace que las paginas siempre queden en la posición correcta de X y Y sin decimales

ENG: It works very well for me going to the “VIEW” menu and clicking on “adjust to pixel” and leaving it default for new documents makes the pages always stay in the correct X and Y position without decimals.

Regards from Colombia

Anonymous
Anonymous
June 29, 2022 11:47 PM

Thank you so much! Really appreciate it 🙂

Anonymous
Anonymous
June 13, 2022 3:23 AM

Thanks so much, this has been frustrating me for soo long. Cheers for the fix

tahida
tahida
June 6, 2022 3:06 AM

thank u brother from indonesia, hope Adobe fix this issue

Nathan Allen
Nathan Allen
May 25, 2022 12:52 AM

I just want to leave a note for anyone who is actually STILL struggling with this issue EVEN WHEN their artboards are whole numbers… Here’s my experience:

If you have a background image that goes beyond the artboard, even if it’s in a clipping mask that goes just to the edge, Illustrator will still add that extra pixel. I don’t know how to fix this. So if anyone does, drop me a line.

Neil
Neil
May 18, 2022 12:22 PM

I can only imagine the amount of dollars you’d have if you had one every time someone had to search for this fix even ten years later. It’s poor that Adobe haven’t fixed it yet. Thanks for taking the life saver.

Anonymous
Anonymous
May 3, 2022 10:12 AM

It’s insane that this is still an issue

Anonymous
Anonymous
October 27, 2021 3:27 PM

THANK YOU! I was pulling my hair out trying to resolve this issue.

Anonymous
Anonymous
October 16, 2021 6:49 AM

I removed decimal points in artboard size but still illustrator adding 1 pixel in width..
what to do now?

Goldilaks
Goldilaks
Reply to  Anonymous
October 27, 2021 8:23 PM

Remove the decimals in the artboard x and y POSITION, not the size

Mike C
Mike C
July 23, 2021 3:29 PM

This article was EXTREMELY helpful. Thank you so much!

theo
theo
July 15, 2021 4:06 AM

MERCI !

Pedro Chaves
Pedro Chaves
July 14, 2021 3:17 PM

Thanks. Super helpful 🙏

ALex
June 15, 2021 11:22 AM

It does’n work for me 🙁 still adding 1 pixel

Adam
Adam
Reply to  ALex
August 28, 2021 12:40 PM

In my case, I also had to remove any artboard in the file that I was not exporting. Try that and good luck.

Anonymous
Anonymous
June 9, 2021 10:12 PM

Thank you for saving my life!!!!

Alex
Alex
May 11, 2021 2:12 AM

Holy moly!! This was doing my head in… you are a legend!

Anonymous
Anonymous
April 19, 2021 8:14 AM

Thank you so much!!! You are a life saver.

Lance
Lance
April 13, 2021 4:49 PM

Thanks!!

Anonymous
Anonymous
April 5, 2021 7:01 PM

You saved me, thank you!

Anonymous
Anonymous
March 22, 2021 7:12 PM

well, that was super helpful!! thank you for your time and efforts!