Skip to content

unsupported webp thumbnails #50

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

Closed
pirate486743186 opened this issue Nov 8, 2021 · 2 comments
Closed

unsupported webp thumbnails #50

pirate486743186 opened this issue Nov 8, 2021 · 2 comments

Comments

@pirate486743186
Copy link
Contributor

In "show more details", often i don't see the thumbnails.
I think, the underlying libraries don't support webp.

i'm getting this error (debian 11, 32bits):
Image type “webp” is not supported at /usr/lib/i386-linux-gnu/perl5/5.32/Glib/Object/Introspection.pm line 67.

Either it's a missing dependency, or it needs a conversion.
Probably, it should first try to load them as is, then fallback in converting them.
This way it's future/back proofed.

@trizen
Copy link
Owner

trizen commented Nov 8, 2021

The "webp-pixbuf-loader" library is needed. I think I will change gtk-pipe-viewer to always use JPEG thumbnails for now, as this library seems to not be available on the Ubuntu and Debian repos.

@trizen trizen closed this as completed in a2aa2c0 Nov 8, 2021
@pirate486743186
Copy link
Contributor Author

just mentioning how to install webp-pixbuf-loader for when you'll reactivate the feature.

For ubuntu, you need to add this ppa, then install the library as usual
sudo add-apt-repository ppa:krifa75/eog-ordissimo
sudo apt update
sudo apt install webp-pixbuf-loader

for debian(ubuntu), there's a source package that you need to build your self.
it's from https://salsa.debian.org/okias-guest/webp-pixbuf-loader this is from debian maintainers, as of writing, it hasn't reached repositories yet.

you can download the source package like this:
git clone https://salsa.debian.org/okias-guest/webp-pixbuf-loader.git

then install needed stuff for building packages in general:
sudo apt install build-essential dpatch fakeroot devscripts equivs lintian quilt

install build dependencies for this package (it will create a metapackage for them)
sudo mk-build-deps -i -r webp-pixbuf-loader/debian/control

build the package
fakeroot webp-pixbuf-loader/debian/rules binary

you can install it with apt as usual (you need to give apt, the full path to a local package file) for example, a package in the current directory:
sudo apt install ./webp-pixbuf-loader_0.0.3-1_i386.deb

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

No branches or pull requests

2 participants