22

I've converted some images from jpeg to google's WebP image format, which reduces my images' size by about 90%!

The big problem is that WebP images can only be viewed with a web browser, not with nautilus (the thumbnails) and/or any photo program at all. It seems that at this moment there is only a codec for Windows.

Does anyone know if this is also possible in Ubuntu?

Zanna
  • 70,465
Kapé
  • 335

3 Answers3

11

Up to 14.04

There is a plugin for the GIMP, written by Nathan Osman.

You can add this plugin from his webptools PPA:

sudo apt-add-repository ppa:george-edison55/webp

Then install the required package: gimp-webp Install gimp-webp

sudo apt-get install gimp-webp

As for thumbnails in nautilus, this seems to be a bug with MIME, as apparently (so I was told) Nautilus already "supports" the webp format, but the thumbnails do not show up as they should.

Pablo Bianchi
  • 15,657
RolandiXor
  • 51,541
  • Thanks for the info, I did not know that there was a ppa for that. I installed it and there are indeed no thumbnails in Nautilus.

    As for the thumbnails: that's the most annoying part. I hope this will be solved soon so I can use WebP properly. Now it's still hard to use if you have to open image by image in the web browser...

    – Kapé Sep 17 '11 at 13:37
  • there seems to have no package for 14.04? any idea if an older may work? – Aquarius Power Aug 11 '14 at 21:10
  • I tried this method to try to create the thumbnail manually but nautilus ignored the the thumbnail I created for the '.webp', could you give it a try? a bit help on it: dwebp filename.webp -o "$HOME/.cache/thumbnails/normal/md5summedResult.png" -scale 100 100 – Aquarius Power Aug 11 '14 at 22:06
  • 1
    @AquariusPower packages have now been updated for 14.04. – Nathan Osman Jun 07 '15 at 06:34
9

Since 16.04

display image.webp

or for thumbnails

display 'vid:*.webp'

Imagemagick does support webp now, although it uses webp, so you need to install webp

sudo apt-get install webp
Janghou
  • 5,709
6

Since 14.04 [universe] there is the vwebp command in the webp package:

sudo apt install webp

Then:

vwebp imagefile.webp

To get thumbnails in Nautilus see this answer (like Aquarius Power said above).