[Originally posted by 00coday on 2006-10-06 00:50:01-07]I am getting two different errors when trying to write IPTC/XMP data to the file at:
www.o-day.net/test/images/4176355If I give the file a .jpg extension, the exiftool reports a "Format error in file" error. If I remove the extension I get a "Error parsing XMP" error.
I get no error when I try to read the IPTC data from the file. No XMP data comes out at all.
I know we worked through something similar to this before and there was an update made that allowed these types of files to be written to.
Any thoughts?
[Originally posted by exiftool on 2006-10-06 12:02:01-07]Thanks for the sample. The key is in the warning you get when reading the image:
Warning : Skipped unknown 38 byte header
There are 38 bytes before the start of the JPEG image in this file.
For this reason, ExifTool will not rewrite the image. If you remove the leading 38 bytes, then you
can re-write the image without errors.
- Phil
[Originally posted by 00coday on 2006-10-06 20:16:38-07]
It seems to me I ran into this before. The tool was updated to skip all headers before the jpeg image in the file (v6.04 I think). Has that been removed?
[Originally posted by exiftool on 2006-10-06 20:41:55-07]That is true. I think you were the reason I added the ability to read images like this.
(
here is the thread.)
But I don't think I ever added the ability to write them too.
- Phil
[Originally posted by 00coday on 2006-10-06 20:47:13-07]
It seems to me I ran into this before. The tool was updated to skip all headers before the jpeg image in the file (v6.04 I think). Has that been removed?