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

Optimize the output GIF size. #1

Open
weibeu opened this issue Sep 28, 2020 · 3 comments
Open

Optimize the output GIF size. #1

weibeu opened this issue Sep 28, 2020 · 3 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@weibeu
Copy link
Owner

weibeu commented Sep 28, 2020

https://github.com/thec0sm0s/image-processor/blob/513bf2d3d8e96db4893692e3ebfd415fb5e0f0bc/app/api_resources/discord/welcome_banner.py#L104-L110

This is the most obvious way to generate GIFs using Python PIL. However when the input GIF consists of more number of frames or are just of higher resolution, the resulting processed GIF size goes around of size ranging 10-15MB. Maybe use some kind of compression or opimization algorithms for examples drop consecutive frames which look similar or any possible way to optimize the resulting GIF.

@jyoungiv
Copy link

Hello! I would like to contribute, may I be assigned to this issue?

@weibeu weibeu self-assigned this Sep 28, 2020
@weibeu
Copy link
Owner Author

weibeu commented Sep 28, 2020

Thanks for considering this! I would love to.

@weibeu weibeu assigned jyoungiv and unassigned weibeu Sep 28, 2020
@weibeu
Copy link
Owner Author

weibeu commented Sep 28, 2020

You may join Discord community for follow up on this or normal fest discussions, etc

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

No branches or pull requests

2 participants