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

Quantization and efficient frame encoding #22

Closed
photopea opened this issue Sep 27, 2017 · 0 comments
Closed

Quantization and efficient frame encoding #22

photopea opened this issue Sep 27, 2017 · 0 comments

Comments

@photopea
Copy link

photopea commented Sep 27, 2017

Thanks to your library, I implemented GIF opening and saving into my online editor Photopea.com. It can convert between APNG and GIF and also minify GIFs and APNGs (by shrinking a color palette). In order to make an efficient GIF encoder, color quantization (256 colors) and efficient frame "cropping" is necessary.

I made a library UPNG.js for decoding and encoding PNG (APNG). There is a function UPNG.encode.compress(), which performs quantization and frame cropping on 8-bit RGBA images. Its output can be used as an input for omggif.

Maybe you could mention UPNG.js in Readme, so your users could combine both libraries to make an efficient encoder :)

@deanm deanm closed this as completed Nov 27, 2021
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