Skip to main content
aaaaaaaaaa0
Participant
February 8, 2022
Question

Exporting images at different scales causes white pixel gaps

  • February 8, 2022
  • 3 replies
  • 3106 views

Version: 23.1.1

 

My images are 1366 x 768. Exporting at 0.75x scale causes their width to round up to 1025px, which adds an single white pixel gap at the edge of the exported images. Instead of normal rounding, this calculation should round down to the nearest integer (floor) to prevent the white gaps.

 

-I've tried changing the image and canvas size to 1024px, and exporting at 1x scale

-I've tried increasing the artboard sizes by 1px (1367), and then doing the same

 

These workarounds change the results slightly, but do not fix the underlying problem

 

- I Can't even export with legacy since it ignores artboards

3 replies

BrettN
Community Manager
Community Manager
February 23, 2022

We had a number of fixes with the latest update, so it is good to hear that this may have been addressed.

stevetb77
Participating Frequently
July 5, 2024

I believe I'm having this issue using Export As with an artboard when using the Scale All feature.  Depending on the scale I choose, some of the images from the artboard get a white line / lines on the top, the bottom, or the top or bottom and left or right side.  This white line can be multiple pixels thick.
If I resize the artboard first and then Export As with 1x (normal) scale this does not happen.  I think there is a bug with the scale all feature.

stevetb77
Participating Frequently
July 5, 2024

It appears I have this issue sometimes even when resizing the artboard, the difference is I can fix each one manually before export.  This issue is surprising.

aaaaaaaaaa0
Participant
February 23, 2022

Using the exact same file I originally had this issue with, it seems to have been adressed in 23.2, or else something changed on my end since then. I will reply to this thread if it comes up agian. Cheers!

BrettN
Community Manager
Community Manager
February 9, 2022

1366 x .75 = 1024.5. We will definitely round up on such math. We also generally err on the side of keeping/generating new information rather than cutting/losing information.

While I do get a slight lightening of edge pixels (only visible when zooming in all the way), I haven't gotten a noticbly white line from my testing. I'm guessing there is something about the content of your file which is making this happen. Would you be able to share the file so I could take a look?