yagudaev / figma-to-json

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

Error export .fig file #13

Open mulyoved opened 1 year ago

mulyoved commented 1 year ago

934-db9f79f4207e36b3.js:1 Uncaught (in promise) RangeError: offset is out of

image

Flow

small-sample.zip

Any idea where to start looking?

yagudaev commented 1 year ago

Hey Muly, off top of my head the first place to look would be any embedded images or videos.

Figma introduced videos after I originally wrote this, so I never got to test it with videos yet.

They also support gifs now in fills and even pngs.

So if you stripped down images, can you still encode and decode a single file with a box with a fill in it?