Hello,
I was wondering if there is any Exiftool support for stripping RIFF chunk headers from WEBP images. I am having issue writing to RIFF based file formats and wanted to know if there is a way to remove RIFF containers from WEBP images using Exiftool commands.
Thank you in advance!
The WebP file format uses a RIFF container. I don't know if there is an uncontained format for WebP (like there is for JXL), so I don't think you can remove these headers and still have a valid file.
- Phil
Hi Phil, thank you for your response!
Does Exiftool have any plans to support writing for RIFF files?
I have a java project in which I am using Exiftool to create a metadata stripping mechanism and wanted to be able to support WEBP files.
Thank you again!
ExifTool does support writing WebP. See the supported files list (https://exiftool.org/#supported).
- Phil
Interesting...
When I run the following command:
exiftool -v -gps:all= test.webp -o test-stripped.webp
I get the error:
Can't write RIFF files
Upgrade to version 12.46 or higher (https://exiftool.org/ancient_history.html#v12.46).
I have version 12.50
Oops. If forget to add webp to the extension check of the -o option. I'll fix this in the next release, but until then use -o test-stripped.%e instead of -o test-stripped.webp
Thanks for reporting this.
- Phil