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

Include frame duration warnings exporting/saving files as animated GIF #1504

Closed
dxu opened this issue Jun 6, 2017 · 5 comments
Closed

Include frame duration warnings exporting/saving files as animated GIF #1504

dxu opened this issue Jun 6, 2017 · 5 comments
Assignees
Labels
feature Feature request, or something should be improved low complexity medium priority persistence Issues about loading or saving files / persisting information on disk time-1
Milestone

Comments

@dxu
Copy link

dxu commented Jun 6, 2017

Hi, I'm new to aseprite, just started using it yesterday. I was playing around with exporting gifs, but when I tried setting the frame durations on some frames of one of the files I was creating, after exporting the gif, the frames with <20ms looked much longer for some reason (possibly up to 100-200 ms if not more. Is this expected? I tried every duration from 15-19, but got the same results.

Thank you for the lovely tool, and for your continued development and support for it!

Aseprite and System version

  • Aseprite version: v1.1.3, Steam
  • System: macOS Sierra, 10.12.5
@dacap
Copy link
Member

dacap commented Jun 6, 2017

Hi @dxu, actually GIF files support a minimal frame duration of 10ms. It cannot contain less than that (well, it can be 0ms which Aseprite loads as 1ms). It's strange that a frame with less than 20ms has a longer duration after exporting the animation into a GIF. If you can share with me the .ase file and the resulting .gif file you can send them at support@aseprite.org, I'll be the only one seeing the files.

A possible problem is that Aseprite is saving frames with duration <10ms with 0ms but the player that you are using (maybe a specific browser) is loading the file with a bigger duration (e.g. converting 0ms into 100ms).

@dacap dacap added bug persistence Issues about loading or saving files / persisting information on disk labels Jun 6, 2017
@thkwznk
Copy link
Contributor

thkwznk commented Aug 27, 2022

The same issue persists in versions 1.2.39-x64 and 1.3-beta20-x64.

@Gasparoken
Copy link
Member

Gasparoken commented Aug 29, 2022

The GIF format has some limitations that aren't advised in Aseprite during Save As/Export command:

  • The minimum frame rate will be 20ms (as this seems to be the 'standard' minimum frame rate supported by most browsers).
  • The duration of each frame will be rounded to 10ms multiples.

I'll change the title to 'Include frame duration warnings exporting/saving files as animated GIF'

Related: https://community.aseprite.org/t/animated-gif-export-rounding-frame-durations/1181/4

What do you think @dacap?

@Gasparoken Gasparoken changed the title Exporting frames <20ms to gifs creates longer than 20ms frames Include frame duration warnings exporting/saving files as animated GIF Aug 29, 2022
@Gasparoken Gasparoken added this to the v1.2-stable milestone Aug 29, 2022
@Gasparoken Gasparoken added feature Feature request, or something should be improved and removed bug labels Aug 29, 2022
@dacap
Copy link
Member

dacap commented Aug 29, 2022

Yeah, there are some missing warnings saving GIF files, those are limitations that cannot be avoided so there should be a warning about them.

@dacap
Copy link
Member

dacap commented Aug 29, 2022

There is another problem with all warnings but I'll create a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request, or something should be improved low complexity medium priority persistence Issues about loading or saving files / persisting information on disk time-1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants