Skip to content

Optimize the output GIF size. #1

@weibeu

Description

@weibeu

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions