IPTC conversion failing on JPEGs

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.

IPTC conversion failing on JPEGs

Post by mwedge »

Extracting IPTC from a JPEG using a 'convert' function fails with the error "No 8BIM data available"

Syntax used:
convert test.jpg test.iptc
convert test.jpg IPTC:test.txt
convert text.jpg IPTCTEXT:test.txt

This works with TIFFs, not with JPEGS, and hasn't worked for a long time - though it used to in 5.x as I recall.

One can extract IPTC using identify -format[%IPTC:x:y], but it's very a lengthy process

I've seen posts on this dating back to 2004, but no solutions - is there any hope on the horizon?

Or if it woud break the convert code, then how about a feature like this:
identify -format [%IPTC:2:*] ?
identify -format [%EXIF:*] works fine!

Version: 6.3.7-Q16

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

Re: IPTC conversion failing on JPEGs

Post by magick »

We have a patch for the problem you reported in ImageMagick 6.3.8-3, available sometime in the next few days. Thanks for alerting us to this problem.