Conversion from jpg to webp removes EXIF metadata

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Olexandr
Posts: 2
Joined: 2016-10-16T23:24:17-07:00
Authentication code: 1151

Conversion from jpg to webp removes EXIF metadata

Post by Olexandr »

Simple conversion from jpg to webp removes all metadata, is it possible to keep it?
Look's like cwebp can keep it while converting to webp from different formats.
-metadata string
A comma separated list of metadata to copy from the input to the output if present. Valid values: all, none, exif, icc, xmp. The default is none.

Note that each input format may not support all combinations.
https://developers.google.com/speed/webp/docs/cwebp
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Conversion from jpg to webp removes EXIF metadata

Post by dlemstra »

We currently don't support this but I created an issue for it here: https://github.com/ImageMagick/ImageMagick/issues/291. Hope someone will add this for us :)
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Olexandr
Posts: 2
Joined: 2016-10-16T23:24:17-07:00
Authentication code: 1151

Re: Conversion from jpg to webp removes EXIF metadata

Post by Olexandr »

I'm not guru in C language, but I hope this example - https://github.com/webmproject/libwebp/ ... es/cwebp.c will help
Post Reply