Skip to content

Handle WEBP animations.#116

Open
kmicki wants to merge 7 commits intoboppreh:masterfrom
kmicki:webp
Open

Handle WEBP animations.#116
kmicki wants to merge 7 commits intoboppreh:masterfrom
kmicki:webp

Conversation

@kmicki
Copy link
Copy Markdown
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.

kmicki added 7 commits July 28, 2022 15:32
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