yagudaev / figma-to-json

💾 Read/Write Figma Files as JSON
https://figma2json.com
MIT License
199 stars 27 forks source link

What are blobs used for? #14

Open crocodile opened 1 year ago

crocodile commented 1 year ago

This is a question: What is the blobs[ ] metadata used for in the Figma json file? I am trying to create fig files from scratch (so starting a diagram outside of Figma) and without these blobs the website won't import them. I suspect it is related to the commandsBlob property, but I could not figure out how...

Thanks in advance!

yagudaev commented 8 months ago

@crocodile did you end up figure it out?

I think those are images embedded in figma as well. as the thumbnail of the file

yagudaev commented 7 months ago

FWIW, these are not images. They are most likely some kind of checksum.

You can modify say a fill color, save the file and it will import correctly.

However, trying to add additional elements to the page say a shape like a rectangle, and then importing won't work.

This requires the blob to be updated in some way.