Skip to main content
Question

Can you add "size" param to get image endpoint?


Roman_Shtykalo

https://www.figma.com/developers/api#get-images-endpoint
This endpoint receives “scale” param, but it is less than I can do with manual export where I can change the size of image directly like that:
image

This topic has been closed for replies.

2 replies

Gleb
  • Power Member
  • 4710 replies
  • May 29, 2024

You can calculate the necessary scale based off of the node width/height and desired width/height.


Roman_Shtykalo

sure, but I need to have it more than 4 in my case, which is not possible with current api


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