[Originally posted by bogdan on 2008-02-02 07:49:06-08]
Assume I have DNG file (Adobe converter used). DNG contains plenty of metadata, but I'm interested on XMP part. Among others, there is also XMP-exif:DateTimeOriginal and XMP-exif:DateTimeDigitized. Now, if I execute:
exiftool -tagsfromfile test.DNG -all:all result.MIE
-I get all XMP data (plus other metadata) inside MIE, except xmp:DateTimeOriginal and xmp:DateTimeDigitized!?
If I use:
exiftool -tagsfromfile test.DNG -xmp:all result.MIE
-then I get complete XMP data, including both DateTime tags.
I've made a test: I took some test.JPG file, deleted all metadata there and put there only:
exiftool -xmp:DateTimeOriginal="2008:01:31 08:00:00" test.JPG
If I now execute the same command:
exiftool -tagsfromfile test.JPG -all:all result.MIE
-then XMP-exif:DateTimeOriginal is written into resulting MIE file (as expected).
Any idea?
Greetings,
Bogdan
[Originally posted by exiftool on 2008-02-02 13:39:16-08]I don't understand how this can happen. When I run this test it
works fine for me:
> exiftool a.jpg -xmp:all -a -G1
[XMP-exif] Date/Time Digitized : 2004:06:04 14:02:21-05:00
[XMP-exif] Date/Time Original : 2004:06:04 14:02:21-05:00
[XMP-pdf] Author : me
> exiftool -tagsfromfile a.jpg -xmp:all a.mie -v3
Setting new values from a.jpg
Writing XMP-exif:DateTimeOriginal
Writing XMP-exif:DateTimeDigitized
Writing XMP-pdf:Author
======== a.mie
Rewriting a.mie...
FileType = MIE
MIMEType = application/x-mie
Editing tags in: MIE MIE-Meta XMP
Creating tags in: MIE MIE-Meta XMP
Writing MIE1-Main:
Writing MIE1-Meta1:
Rewriting XMP
- XMP-pdf:Author = 'me'
+ XMP-pdf:Author = 'me'
- XMP-exif:DateTimeDigitized = '2004-06-04T14:02:21-05:00'
+ XMP-exif:DateTimeDigitized = '2004-06-04T14:02:21-05:00'
- XMP-exif:DateTimeOriginal = '2004-06-04T14:02:21-05:00'
+ XMP-exif:DateTimeOriginal = '2004-06-04T14:02:21-05:00'
1 image files updated
> exiftool a.mie -a -G1
[ExifTool] ExifTool Version Number : 7.15 (pre-release)
[File] File Name : a.mie
[File] Directory : .
[File] File Size : 3 kB
[File] File Modification Date/Time : 2008:02:02 09:03:15
[File] File Type : MIE
[File] MIME Type : application/x-mie
[XMP-exif] Date/Time Digitized : 2004:06:04 14:02:21-05:00
[XMP-exif] Date/Time Original : 2004:06:04 14:02:21-05:00
[XMP-pdf] Author : me
If this doesn't work for you, please send me a sample image and your
exact command line and I should be able to figure it out.
- Phil
[Originally posted by bogdan on 2008-02-02 14:33:16-08]
Hi Phil,
Maybe I've complicated by explaining my issue -trying to be specific :-)
I am interested on XMP section inside DNG. If I use exact this command:
exiftool -tagsfromfile test.DNG -all:all result.MIE
-then all XMP tags are saved into MIE file, except xmp:DateTimeOriginal and xmp:DateTimeDigitized. Of course, resulting MIE also contain plenty of other metadata, but I'm focusing on XMP in this case. How come above tags are missing inside MIE?
If I execute (for the same DNG file):
exiftool -tagsfromfile test.DNG -xmp:all result.MIE
-then both, xmp:DateTimeOriginal and xmp:DateTimeDigitized, are not missing inside resulting MIE file.
See, using "-xmp:all", copies all XMP data into MIE, but if I use "-all:all", two (DateTime) tags are missing (all other XMP tags are copied).
This doesn't happen if source file is JPG.
Btw. both, DNG and CR2 (which was source for DNG), aren't manipulated. I would send you a DNG, but don't have your mail address by hand...
Thank you for patience,
Bogdan
[Originally posted by bogdan on 2008-02-02 14:51:10-08]
Confusing... about "This doesn't happen if source file is JPG". It really doesn't happen, if DateTimeOriginal is manually (using exiftool) added into JPG.
But, if xmp section is copied from DNG into JPG, then JPG behaves the same as DNG:
exiftool -tagsfromfile test.jpg -xmp:all result.mie
-copies complete XMP section into MIE, but using:
exiftool -tagsfromfile test.jpg -all:all result.mie
-now xmp:DateTimeOriginal and xmp:DateTimeDigitized are missing inside MIE.
Bogdan
[Originally posted by exiftool on 2008-02-03 12:02:41-08]
OK, I understand now.
It may be that there is something specific about your
XMP information that is causing this. If you could send
me the JPEG (since it is hopefully smaller), I should be
able to figure this out. my mail is philharvey66 at gmail.com
- Phil
[Originally posted by exiftool on 2008-02-03 12:15:36-08]
Update:
I have been able to reproduce this problem, so you don't
need to send me a sample image.
I'll let you know when I have figured out what is going wrong.
- Phil
[Originally posted by exiftool on 2008-02-03 12:59:53-08]Wow. Nice catch, Bogdan! This was a bug in exiftool introduced
in version 6.91. It only affects XMP date/time tags when copying
information using
-all:all, and will be fixed in version
7.15 when it is released. Until then, the work-around is to add
-xmp:all to the command line when copying all tags
with
-all:all. ie)
exiftool -tagsfromfile src.jpg -all:all -xmp:all dst.mie
Thank you very much for pointing out this sneaky problem!!
- Phil
[Originally posted by bogdan on 2008-02-03 15:04:16-08]
Hi Phil,
Well, I'm glad you could reproduce what I was trying to explain with my limited english :-)
For now I'll wait for v7.15 (to avoid changing my GUI code twice).
Greetings,
Bogdan