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

Handle WEBP animations. #116

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

Handle WEBP animations. #116

wants to merge 7 commits into from

Conversation

kmicki
Copy link
Contributor

@kmicki kmicki commented Jul 28, 2022

Requires use of a package github.com/kmicki/webpanimation which is forked from github.com/sizeofint/webpanimation. The fork adds necessary functions for decoding WEBP animation into single frames (original package only supports encoding single frames into an animation).

The webpanimation package uses cgo to bind to libwebp, so gcc is necessary to build the application from now on.

It is working on Linux (tested on Arch/SteamOS) and Windows (tested on Windows 10 with mingw installed). It was not tested on a Mac but should also work.

The extension is changed to .png when the file is saved anyway, otherwise Steam will not use it.
But it works with a changed extension.

Requires use of a package github.com/kmicki/webpanimation which is
forked from github.com/size-of-int/webpanimation. The fork adds
necessary functions for decoding WEBP animation into single frames
(original package only supports encoding single frames into an
animation).

The webpanimation package uses cgo to bind to libwebp, so gcc is
necessary to build the application from now on.

It is working on Linux (tested on Arch) and Windows (tested on Windows
10 with mingw installed). It was not tested on a Mac but should
also work.

Allows use of webp content. The extension is changed to .png when
the file is saved anyway, otherwise Steam will not use it.
But it works with a changed extension.
To reduce memory used. Requires usage of kmicki/apng (fork of kettek/apng)
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