linuxmint / pix

Image management application
GNU General Public License v2.0
206 stars 43 forks source link

Wish: Support for .webp #151

Closed MiDuffy closed 1 year ago

MiDuffy commented 2 years ago
 * Pix version (pix --version) 2.4.5+Sarah
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...) Mint

Issue Wish: Display/support for .webp files.

Steps to reproduce

Expected behaviour

Other information

darkshram commented 2 years ago

Just install webp-pixbuf-loader and you will get webp support in pix and xviewer. Packages are available in Debian, Ubuntu, Linux Mint, Fedora, etc. Same for for jxl, heif and avif formats. Just install jxl-pixbuf-loader, heif-pixbuf-loader and avif-pixbuf-loader packages from your distribution software repositories.

mtwebster commented 1 year ago

On new isos of Mint, webp-pixbuf-loader should be pre-installed. Others can install as per previous comment.

butla commented 1 year ago

Even with webp-pixbuf-loader (0.0.7-1), an animated webp doesn't show at all (just blank canvas).

version: pix 2.8.9 distribution: Manjaro 22.0.4

darkshram commented 1 year ago

@butla Support for what you are asking is up to webp-pixbuf-loader, not pix itself (unless you build from source latest master branch, which is based on Gthumb 3.12.2). Pix 2.8.x has no native support for webp, so it completely depends on webp-pixbuf-loader features.

Try upgrading to webp-pixbuf-loader 0.2.2 (will require to build from source, because AFAIK no distributions has packaged yet latest release), or be patient and wait for a stable release of next major version of Pix, which will be basically gthumb 3.12 but tailored to be an Xapp. You should also fill an issue at Manjaro to have them upgrade to webp-pixbuf-loader version 0.2.2, which is less buggy and pretty much more feature complete than version 0.0.7.

butla commented 1 year ago

@darkshram Ah, you're right. Thanks. Waiting is ok for me here (not that many animated .webp in my library), but I'll add a request to Manjaro forums for webp-pixbuf-loader upgrade.

EDIT webp-pixbuf-loader 0.2.1 is already on Manjaro unstable branch, so it'll get promoted eventually.