Read Keywords from JPG

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?".
brethomp

Re: Read Keywords from JPG

Post by brethomp »

Drarakel wrote:No, it works with other formats, too - TIF/PNG/etc. But it's possible for some special files that a certain profile isn't recognized.
I have tried TIF, PNG and PDF with no luck. TIF and PNG generate a blank XMP file, and PDF doesn't generate a XMP file at all.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Read Keywords from JPG

Post by snibgo »

Is it possible to post files on this forum?
No. My "post a sample" was shorthand for "put a sample file on the web somewhere and post its URL". Sorry for my ambiguity.


I can't remember where I came across XMP, and haven't played with it much. It seems to extract some metadata that "identify -verbose" doesn't, eg "dc:creator". (dc = Dublin Core?)

If a metadata field occurs in "identify -verbose", it can be extracted with, for example,

convert -format %[xmp:CreatorTool] info:-

but dc:creator etc can't be extracted this way.
snibgo's IM pages: im.snibgo.com
Post Reply