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

🐛 fix: thumbnailing animated webp #588

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

CloudPassenger
Copy link

Related to issue #291 due to the lack of webp container support, so I integrated the go wrapper govips for using libvips to resize the animated webp

Updates:

  • use prebuilt libwebp & libheif
  • bump the version of the base docker image, it's now Alpine 3.20 (Docker image doesn't run on Alpine 3.19 #521)
  • now use govips to decode webp, instead of golang.org/x/image
  • use libvips to generate thumbnail for webp image (TODO: may alter imaging later)
  • correctly support animated/non-animated thumbnails for animated webp image

@CloudPassenger
Copy link
Author

Example:

animated-webp-emote-thumbnail.zip

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

Successfully merging this pull request may close these issues.

1 participant