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

Animated FLIF frame delays are not respected #51

Closed
ghost opened this issue Mar 15, 2019 · 1 comment
Closed

Animated FLIF frame delays are not respected #51

ghost opened this issue Mar 15, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 15, 2019

I encoded a GIF file (attached) with gif2flif (from FLIF's repo). The resulting FLIF (attached as .flif.gz) had the correct frame delays of 80 milliseconds. I then loaded the animated FLIF in poly-flif with an HTML file:

<script src="flif.js"></script>
<canvas data-polyflif-src="skunk.flif"></canvas>

The resulting page is the attached MP4 file (gzipped). The displayed image had delays which were much shorter than the input FLIF file.

Deconstructing the FLIF with flif skunk.flif skunk.png reported correct timings. Reconstructing the GIF with convert -loop 0 -delay 8 skunk*.png skunk-reconstructed.gif created a correctly timed image.

skunk

skunk.flif.gz

skunk.mp4.gz

  • poly-flif version: 0.8.2
  • Browsers tested: Waterfox, Firefox, and Falkon (Chromium won't load the local files)
  • OS: Xubuntu 18.04
@hrj
Copy link
Member

hrj commented Mar 16, 2019

@alexandercrypto Yeah, the support for animations is not complete. An issue exists for this already: #2, so let's use that.

@hrj hrj closed this as completed Mar 16, 2019
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

1 participant