Skip to main content
Participant
February 26, 2018
解決済み

Getting additional pixel when exporting for screens in Illustrator

  • February 26, 2018
  • 返信数 3.
  • 8470 ビュー

Hello,

 

I am creating 300+ icons and when I export them for screens there is always an extra pixel.
Ex. they are supposed to be 24x24 but they save as 25x24.

 

I have tried multiple trouble shooting techniques that I have read in forums but nothing I have tried seems to work.

 

Has anyone found a solution to this?

 

THANKS!

 

{Renamed by MOD}

解決に役立った回答 Ton Frederiks

There's multiple artboards so they shouldn't have any point numbers ex 124.3 they should all be whole?


Yes, it's easy to do that.

Select the Artboard tool.

Go to the Properties Panel.

Select Rearrange All.

Set the number of colums and spacing.

They will all be set to a whole XY number

返信数 3

Participant
September 4, 2025

I have had luck setting the artboard size to be one pixel smaller each dimension.

Participating Frequently
May 9, 2020

Hi Ton, rearranging them is not an option for me. They all have different sizes.

 

I've removed the decimals from X and Y and I'm still facing this issue. Any ideas on how to sort it out? Thanks.

 

 

Ton Frederiks
Community Expert
Community Expert
May 9, 2020

Can you share an example .ai file that shows the problem?

Ton Frederiks
Community Expert
Community Expert
May 10, 2020

I just double-checked the dimensions of all artboards. The ones with whole numbers ending in 0 were exported properly. All the others had the extra pixels.


Thank you for sharing the file!

I see what is causing your problem, you measure from the center.

I also see why you cannot rearrange artboardx, the working area is too full to move them.

Here is your artboard 2, the X Y looks good, but you are measuring from the center.

Here is what happens when you measure from the upper left (which is where the pixelgrid origin starts), you get fractional pixels.

When you correct these fractional X Y coordintates, no additional pixels will be generated when you export at 72 ppi.

Monika Gause
Community Expert
Community Expert
February 26, 2018

Which version?

Are both the artboards and the objects aligned to whole pixels?

Participant
February 27, 2018

Its Illustrator CC the newest version. How do I know if the objects and artboards are aligned to the whole pixels?

Monika Gause
Community Expert
Community Expert
February 27, 2018

Select them with the artboard tool and check the X, Y, W, H values.