CPAN::Forum
Image-ExifTool - Re: Error copying Tags
| Posted on Fri Dec 28 08:09:36 2007 by robladdish in response to 6633 (See the whole thread of 10) |
| Re: Error copying Tags |
|
Hi Phil,
First off, thanks for an awesome tool! You've done a great job of managing the complexity with easy options. That's hard to do well!
I have a similar problem as this poster. I have a lot of images stored from an older Fuji FinePix 601z camera that I'm trying to organize. It's finding corruption in the header & declining to write to the tag header:
$ exiftool -m -Software=Fred test_bak.jpg
Warning: Truncated MakerNotes directory - test_bak.jpg
Error: Bad format (1792) for ExifIFD entry 19 - test_bak.jpg
0 image files updated
1 files weren't updated due to errors
I tried a similar process to what you did above - make a copy, remove exif tags, copy exif tags, an
+d continue. Unfortunately, it seems to copy the corruption, and the error remains. Do you have any
+ suggestions?
Here's the relevant output:
$ copy test.jpg test_bak.jpg
$ exiftool -exif:all= test_bak.jpg
1 image files updated
$ exiftool -m -Software=Fred test_bak.jpg
1 image files updated
This implies the clearing of tags removed the problem.
$ exiftool -exif:all= test_bak.jpg
1 image files updated
$ exiftool -tagsfromfile test.jpg test_bak.jpg
Warning: Bad MakerNotes directory - test.jpg
1 image files updated
$ exiftool -m -Software=Fred test_bak.jpg
Warning: Truncated MakerNotes directory - test_bak.jpg
Error: Bad format (1792) for ExifIFD entry 19 - test_bak.jpg
0 image files updated
1 files weren't updated due to errors
This implied to me that the corruption got copied over too. :(
Here's some more verbose output in case it helps:
P:\ArchiveMisc\Home TV Copies>exiftool -v2 -m -Software=Fred test_bak.jpg
Writing PNG:Software
Writing MIE-Doc:Software
Writing Sigma:Software if tag exists
Writing XMP-tiff:Software if tag exists
Writing IFD0:Software
Rewriting test_bak.jpg...
Editing tags in: APP0 APP1 CIFF ExifIFD IFD0 JFIF MIE-Doc MakerNotes PNG XMP
Creating tags in: APP1 IFD0 MIE-Doc PNG
JPEG APP1 (8182 bytes):
ExifByteOrder = MM
Rewriting IFD0
- IFD0:Software = 'Adobe Photoshop Elements 6.0'
+ IFD0:Software = 'Fred'
Rewriting ExifIFD
Rewriting MakerNotes
Warning = Truncated MakerNotes directory
Deleting MakerNotes
Error = Bad format (1792) for ExifIFD entry 19
JPEG APP13 (142 bytes):
JPEG APP1 (5718 bytes):
Rewriting XMP
JPEG DQT (65 bytes):
JPEG DQT (65 bytes):
JPEG DQT (65 bytes):
JPEG SOF0:
JPEG DHT (29 bytes):
JPEG DHT (179 bytes):
JPEG DHT (29 bytes):
JPEG DHT (179 bytes):
JPEG DRI (2 bytes):
JPEG SOS
Warning: Truncated MakerNotes directory - test_bak.jpg
Error: Bad format (1792) for ExifIFD entry 19 - test_bak.jpg
0 image files updated
1 files weren't updated due to errors
Thanks for any help!
|
| Direct Responses: 6769 | Write a response |
(4)
]