Exports adding a thin white line top and bottom

Hi all,

When i’m exporting to a JPG with a dark background, the export is adding 1px to its original size which then creates a thin white line top and bottom

Hey there, thanks for reaching out and sorry for the trouble!

This is a bug for decimal exports that our team is aware of. These white lines appear when exporting a JPG that is positioned on a sub pixel value (i.e. any value with a decimal point). To prevent this from happening, ensure that the width, height, and/or X and Y positions are on full integer values before exporting.

2 Likes

Sorry this is not a sollution for me. The widht is 500px height 100px And the X and Y are 100. Also all the elements within the image have a integer value

1 Like

Curious if this changes depending on what file type you export? If not I would file a bug report via the following form https://help.figma.com/hc/en-us/requests/new?ticket_form_id=360001744374&tf_1500005293441=generic_report

I’m having this problem as well. All elements are also within full integer values yet when I export the white border still appears.

My solution was to unckeck “clip content”. Hope it will work for you to. :slight_smile:

1 Like

Update: My solution was to remove/correct a drop shadow effect on an element within the frame that extended outside of the frame. I assumed the export would only show everything within a frame and not support any element outside of it. Hope this helps.

My issue was resolved by going through each section (of the whole page) one by one and there was a section having height of 880.17px. Once I adjusted the height to an integer it got solved.

1 Like

If this isn’t fixed, still to this day, then why is there a thread that’s been closed and marked as “fixed” by you when it is still very much a bug we all face - that thread was from 2021???

1 Like