WEBP images

Started by bmn, November 01, 2013, 04:20:35 PM

Previous topic - Next topic

bmn

The cwebp tool which creates webp images can also copy exif metadata (or you can later set it use webpmux -set exif).

WEBP uses a RIFF container, but currently the exif data is not read by exiftool. At least for me this was easily fixed using the attached patch.

Phil Harvey

Thanks!  This update will appear in the next release.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Marsu42

#2
Quote from: bmn on November 01, 2013, 04:20:35 PM
The cwebp tool which creates webp images can also copy exif metadata (or you can later set it use webpmux -set exif).

Fyi: cwebp doesn't support passthru metadata on Windows ("Warning: only ICC profile extraction is currently supported on this platform!"). It's possible to extract xmp and exif with exiftool -b from another file format and webpmux to webp though, but this way is a hassle.

It would be nice to have exiftool write support for .webp - it has good lossless compression, some browsers do support it, and google is still developing it (unlike xr, the only encoder is from 2013 and afaik hasn't been touched since).

Marsu42

Quote from: Marsu42 on October 08, 2016, 07:04:30 AM
It would be nice to have exiftool write support for .webp - it has good lossless compression, some browsers do support it, and google is still developing it (unlike xr, the only encoder is from 2013 and afaik hasn't been touched since).

fyi the webp format is getting traction, now Firefox supports it next to Edge and Chrome.

Meanwhile, Google's official cwebp win-exe files still only support writing icc when converting :-\ ... you have to compile it yourself with cygwin-mingw to get tags copying feature. So exiftool write support would still be welcome :-)


Phil Harvey

I'm working on adding WebP write support to ExifTool 12.46.  See this post for more information.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).