Skip to main content
Nov 16, 2023 12:05 PM UTC
Question

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

This topic has been closed for replies.

23 replies

djv
Figmate
Community Support
Nov 16, 2023 9:05 PM UTC

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
Jun 26, 2024 9:44 AM UTC

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
Jun 26, 2024 3:20 PM UTC

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
Aug 16, 2024 10:40 PM UTC

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
Aug 18, 2024 5:27 PM UTC

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

Jessica_Banda
Aug 21, 2024 6:00 PM UTC

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
Sep 25, 2024 2:27 PM UTC

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
Oct 17, 2024 11:01 AM UTC

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
Dec 19, 2024 10:50 PM UTC

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
Dec 30, 2024 1:58 AM UTC

Not any of these solutions working for me.