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

Add a GIF optimization (=size-reduction) feature #43

Open
Zulko opened this issue Aug 22, 2021 · 0 comments
Open

Add a GIF optimization (=size-reduction) feature #43

Zulko opened this issue Aug 22, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Zulko
Copy link
Owner

Zulko commented Aug 22, 2021

Motivation

Gix enables you to generate GIFs, but these are generally unoptimized and heavy. Would be nice if we offered the possibility to optimize the GIFs, so they are more easily sharable.

Specs

  • Ideally the optimization step would come after the GIF rendering. Like, the user is presented with a GIF that is said to weight 6Mo, and there is a new button that says "Optimize GIF size" that the user can click on.
  • If the implementation relies on a heavy framework, this should only be downloaded when the user uses the feature for the first time.

Technical details

There might not be any existing framework for that 😬 but possible paths include:

  • Lobbying for this project to create a webasm browser build of gifsicle (looks like they did most of the heavy lifting already).
  • Looking into ffmpeg-for-browser (not sure it supports GIFs already. But desktop ffmpeg creates lighter gifs).
@Zulko Zulko added the enhancement New feature or request label Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant