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 » 27. Sep 2021, 16:14

Please, someone knows how to enable it?
Thanks

User avatar
laprjns
Salix Warrior
Posts: 1057
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: webp thumbnails?

Post by laprjns » 28. Sep 2021, 10:38

“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"

User avatar
gapan
Salix Wizard
Posts: 5729
Joined: 6. Jun 2009, 17:40

Re: webp thumbnails?

Post by gapan » 28. Sep 2021, 19:14

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 » 29. Sep 2021, 13:21

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