Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error export .fig file #13

Open
mulyoved opened this issue Feb 9, 2023 · 1 comment
Open

Error export .fig file #13

mulyoved opened this issue Feb 9, 2023 · 1 comment

Comments

@mulyoved
Copy link

mulyoved commented Feb 9, 2023

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

image

Flow

  • Upload attached .fig, -> converted to JSON fine
  • Download JSON
  • refresh the page
  • Upload JSON file from 2
  • Export .fig -> Failed with error

small-sample.zip

Any idea where to start looking?

@yagudaev
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants