Skip to main content
Question

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

  • May 29, 2024
  • 2 replies
  • 125 views

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