Skip to main content
Question

Export frame to png

  • February 12, 2025
  • 2 replies
  • 24 views

Sadinoel_003

When exporting a frame to PNG, Figma is increasing the image size by 1 pixel only on the horizontal axis, which is a problem when I need artwork with exact dimensions.


 

 

2 replies

Nellya
  • Power Member
  • 441 replies
  • February 12, 2025

You probably have subpixels in position coordinates of your frame. You need to remove numbers after dot

 


Celine_D
Figmate
  • Community Support
  • 3381 replies
  • February 12, 2025

Hey ​@Sadinoel_003 , thanks for reaching out to the community!

This definitely looks like a known bug with exports adding extra pixels, and our engineering team is aware of it.

The issue occurs when the X or Y position of your frame is set to a decimal value instead of an integer (a whole number).
For example, if the Y value is 1609.95, it can cause this behavior.
 
?name=image.png
 
 

When a layer is set to a sub-pixel value, it can cause the export to either be cropped by a pixel or display an extra white line of pixels.

To prevent this, ensure that the X and Y values are whole numbers. For example, 1609.95 should be adjusted to 1609.

You can manually update the coordinates in the Properties Panel, or use the Round-to Pixel function from the menu. If your design contains nested frames, all of them must also have whole-number values for the X and Y positions.

Here’s how to use the Round-to-pixel function: 

  1. Select that object and go to main menu - from there choose quick actions
  2. Search for Round to pixel

image
 
 
I'd also suggest also activating Snap to Pixel Grid to see if that helps. You can also enable it from the main menu - Quick actions:
 
image
 
Our engineering are aware of this issue however I want to be transparent with you that this will not have an immediate resolution as we need more time to investigate this.
While I can't promise a quick fix, please know that our engineering team is aware of the issue and will work towards finding a solution in the future.
We appreciate your understanding and patience in this matter, thank you!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings