Skip to main content
November 16, 2023
Question

Exports adding a thin white line top and bottom

  • November 16, 2023
  • 23 replies
  • 7184 views

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

This topic has been closed for replies.

23 replies

djv
Figmate
Community Support
November 16, 2023

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.

Etienne4
New Member
June 26, 2024

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

Josh
Former Community Manager
June 26, 2024

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

Jessica_Banda
August 16, 2024

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

Etienne4
New Member
August 18, 2024

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

Jessica_Banda
August 21, 2024

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.

ansbari
September 25, 2024

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.

Samuel_Anthony
October 17, 2024

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???

Ian_Palmgren
Active Member
December 19, 2024

Still not fixed, Dec 19 2024. This has been an issue since the day we started using Figma in 2019. Sure would have hoped to have seen this addressed by now…

Qasim
December 30, 2024

Not any of these solutions working for me.