Getting comments from images with ImageMagick?

dsr at tao.merseine.nu dsr at tao.merseine.nu
Fri Feb 7 15:56:18 EST 2003


On Fri, Feb 07, 2003 at 04:13:14PM -0500, Duane Morin wrote:
> Hi All,
> 
> I can find plenty of pages dedicated to how to set the comment/label of an 
> image using ImageMagick's "mogrify" command, but does this suite of 
> command line tools have a way to extract this value?  I'm working on 
> something that produces XML meta data describing an album, and was 
> entering in the descriptions by hand until the resident photographer here 
> said "Put the description in the jpg when you make them."  I can do that, 
> I just don't know what tool to call to get it back out in order to create 
> my metadata.  "identify" doesn't seem to want to do it, and that would 
> have been the logical choice.

rdjpgcom from the JPEG tools will read such a comment; wrjpgcom writes
them.

On Debian, that's the libjpeg-progs package.

-dsr-


-- 
Network engineer looking for work in Boston area.
Resume at http://tao.merseine.nu/~dsr/



More information about the Discuss mailing list