webp thumbnails?

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
cesar
Posts: 3
Joined: 29. Aug 2020, 16:20

webp thumbnails?

Post by cesar »

Please, someone knows how to enable it?
Thanks
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: webp thumbnails?

Post by laprjns »

“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
User avatar
gapan
Salix Wizard
Posts: 6236
Joined: 6. Jun 2009, 17:40

Re: webp thumbnails?

Post by gapan »

I haven't tested this yet, as I'm currently on MATE, but this should work. First you'll need a newer version of tumbler. Get the package from here and install it:
https://people.salixos.org/gapan/tumbler/
(If you need a 32bit package, I can also build one)

Then create a /usr/share/thumbnailers/webp.thumbnailer file with the following contents:

Code: Select all

[Thumbnailer Entry]
Version=1.0
Encoding=UTF-8
Type=X-Thumbnailer
Name=webp Thumbnailer
MimeType=image/x-webp;image/webp;
Exec=/usr/bin/convert -thumbnail %s %i %o
Log out and back in and it should work.

Oh, you also need to have the imagemagick package installed if you don't have it already.
Image
Image
cesar
Posts: 3
Joined: 29. Aug 2020, 16:20

Re: webp thumbnails?

Post by cesar »

Yes. I had already checked the rest, but after downloading and compiling the new version of tumbler, and restarting the PC, the thumbnails appeared!
Thank you all
Post Reply