ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: zevy on February 09, 2018, 05:00:12 AM

Title: Bad Photoshop resource data size
Post by: zevy on February 09, 2018, 05:00:12 AM
Hi everybody,

I'm new on this forum and I first want to congratulate for this great tool, that is very usefull in my daily professional job.

Therefore I'm facing an issue trying to extract IPTC metas from some jpeg files. I get following error : <ExifTool:Warning>Bad Photoshop resource data size 516</ExifTool:Warning> when calling exiftool.exe with following parameters : -charset filename=Latin -fast2 -X -sep || -q -b -u
However, I'm able to see ITPC metas when I use the ExifToolGUI.exe

I suppose meta have been corrupted by the soft that writed those metas.
Is there any possibility to extract IPTC metas through exiftool.exe ? With different parameters maybe ?

exiftool.exe version embedded in my programm is 10.16
ExifToolGUI.exe is 5.16 with exiftool 10.78

I posted the image in question.

Thanks in advance for you help
Title: Re: Bad Photoshop resource data size
Post by: Phil Harvey on February 09, 2018, 06:24:30 AM
Adding -fast2 for this image prevents reading the trailer which contains the IPTC:

> exiftool -a -validate -warning ~/Desktop/example.jpg
Validate                        : 2 Warnings (1 minor)
Warning                         : Bad Photoshop resource data size 516
Warning                         : [minor] Non-standard IPTC at JPEG-Trailer-FotoStation-IPTC


The Photoshop resource error is preventing ExifTool from reading the standard IPTC in this file.

- Phil
Title: Re: Bad Photoshop resource data size
Post by: zevy on February 09, 2018, 09:52:34 AM
Thanks for so quick answer,

however is it expected that the xml prefix is "IPTC2" on these metas ? Is there any way to force them being "ITPC" ?

Title: Re: Bad Photoshop resource data size
Post by: Phil Harvey on February 09, 2018, 09:58:09 AM
It is IPTC2 because it is non-standard IPTC.  There is no way to change this in the -X output currently.

- Phil
Title: Re: Bad Photoshop resource data size
Post by: zevy on February 09, 2018, 10:06:42 AM
OK, thanks a lot