ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: crueger on July 25, 2012, 08:49:46 AM

Title: WebP-Support / webpmux
Post by: crueger on July 25, 2012, 08:49:46 AM
It would be a good feature if ExifTool could directly write XMP-Data to .webp files. The definition of the container format and tools are now in the repositories https://developers.google.com/speed/webp/download (https://developers.google.com/speed/webp/download).

For example, by now you have to do this to copy metadata into a new created .webp-file:

exiftool -Tagsfromfile picture1.jpg metadata1.xmp
webpmux -set xmp metadata1.xmp picture1.webp -o picture1container.webp

Thanks
Title: Re: WebP-Support / webpmux
Post by: Phil Harvey on July 25, 2012, 09:11:15 AM
Adding write support is often a lot of work, but I'll look into this.

Thanks for the suggestion.

- Phil
Title: Re: WebP-Support / webpmux
Post by: rodertroy on November 04, 2020, 01:37:11 PM
This thread was 8 years ago. Any plans for supporting write support for webp images? If not is there some hack that can be used to add write support, or another program you'd recommend that provides write support?

Issue addressed here as well: https://exiftool.org/forum/index.php?topic=5373.0
Title: Re: WebP-Support / webpmux
Post by: Phil Harvey on November 04, 2020, 08:55:14 PM
This is currently on my to-do list, but it has fallen to item number 193. :(  So it isn't likely that ExifTool will have this ability soon.

I'm not an expert in other software, so I can't help there.

- Phil
Title: Re: WebP-Support / webpmux
Post by: rodertroy on November 17, 2020, 09:17:25 PM
FYI Exiv2 (https://www.exiv2.org/manpage.html) works with webp.
Title: Re: WebP-Support / webpmux
Post by: Phil Harvey on November 18, 2020, 07:05:04 AM
Do you have any WebP samples containing EXIF and XMP metadata?

- Phil
Title: Re: WebP-Support / webpmux
Post by: rodertroy on November 20, 2020, 04:54:30 PM
Yes, with Exiv2 I'm able to write Exif data to many webp images. I haven't tried writing data to xmp.

Using the following bash script to add data to the user comment tag:

#!/bin/bash

echo "Please type title and press enter"
read conch

if [ -z "$conch" ]; then
printf "no caption was selected, aborting!\n"
exit 1
fi
printf "conch is $conch\n"


exiv2 -M'set Exif.Photo.UserComment charset=Ascii '$conch'' *.webp

done
Title: Re: WebP-Support / webpmux
Post by: Phil Harvey on November 20, 2020, 05:12:18 PM
That would require that I install exiv2. :(

- Phil
Title: Re: WebP-Support / webpmux
Post by: Phil Harvey on September 26, 2022, 01:20:36 PM
I'm working on adding WebP write support to ExifTool 12.46.  See this post for more information (https://exiftool.org/forum/index.php?msg=75207).

- Phil