Req: xmp metadata read support

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
User avatar
Marsu42
Posts: 75
Joined: 2014-06-12T03:17:45-07:00
Authentication code: 6789
Location: Berlin

Req: xmp metadata read support

Post by Marsu42 » 2014-12-18T02:27:54-07:00

This request certainly doesn't come as a surprise, and I image you have though about it and decided against it, at least for the time being? Anyway, since I didn't find such a request in the forum yet, here's my case:

1. The imaging world is moving to xmp, so sticking with the iptc tag subset seems somewhat outdated
2. Identify -ping is sooooo much faster than exiftool which needs to call perl all the time
3. Stickting to Imagemagick instead of using exiftool, too, saves time reading docs and prevents bugs

As far as I see it, the xmp tags are right there in a simply xml struct at the start of the file, it might even work with the (extended?) -ping option? No fancy decoding or writing such as exiftool does would be required, just getting some basic information while working with the imagemagick tools.

Thanks for considering!

User avatar
dlemstra
Posts: 1571
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Req: xmp metadata read support

Post by dlemstra » 2014-12-18T03:23:35-07:00

That option is already available:

Code: Select all

convert -ping yourimage.jpg xmp:xmp-profile.xml
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

Thariama
Posts: 1
Joined: 2016-01-04T04:40:34-07:00
Authentication code: 1151

Re: Req: xmp metadata read support

Post by Thariama » 2016-01-05T04:26:21-07:00

Is there a way to read the XMP Data using the Perl ImageMagick API?

User avatar
magick
Site Admin
Posts: 11066
Joined: 2003-05-31T11:32:55-07:00

Re: Req: xmp metadata read support

Post by magick » 2016-01-05T06:10:45-07:00

No, you can get ICC, ICM, and IPTC, but not XMP. We will add a patch to PerlMagick in the next few days to correct this oversight.

Post Reply