ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:53:53 AM

Title: Reading IPTC data from
Post by: Archive on May 12, 2010, 08:53:53 AM
[Originally posted by 00coday on 2006-03-09 21:50:16-08]

I have about 300,000 images in a format that will not allow the ExifTool to read the IPTC header information.  If one of the images is opened in PhotoShop as a jpeg it opens fine.  If you save it in PhotoShop and then run the ExifTool against it, the IPTC can be read just fine.

When I rename a file to .jpg and open it with Gimp, I get the following error:

JPEG image Message:

Not a JPEG file: starts with 0x00 0x05

These images came out of an AP Preserver system without benefit of it's front end, if that helps anyone.

Being imaging gurus, any thoughts on what the problem might be?

I have posted a sample without a file extension at:

http://www.o-day.net/sample/3951626

Thanks in advance for the help
Title: Re: Reading IPTC data from
Post by: Archive on May 12, 2010, 08:53:53 AM
[Originally posted by exiftool on 2006-03-10 03:07:03-08]

The file you posted has a 98 byte header before the start of the JPEG image.

It is interesting the Photoshop and GraphicConverter will both read this file, but only after I add a .JPG extension.  Even though ExifTool does not rely on the extension to read the file, it is still possible to recognize files such as this.  I have added the ability to skip past an unknown header in JPEG and TIFF images, and the feature will appear in version 6.04 when it is released.  I have made a 6.04 pre-release available for testing purposes if you want to try it out before the official release (which should be in a week or so).
Title: Re: Reading IPTC data from
Post by: Archive on May 12, 2010, 08:53:53 AM
[Originally posted by 00coday on 2006-03-10 18:45:05-08]

Right now we are running a PhotoShop batch process to save the files as JPEG's.  This process replaces all of the necessary information and makes the files recognizable as images.  Does anyone know of a command line tool (pc) that could be used to do the same.  I have already tried ImageMagick with no luck.  Any thoughts?