ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Charles on April 19, 2017, 01:57:54 PM

Title: Nothing changed in 100_2045.jpg -- can't see any error in -v5 output
Post by: Charles on April 19, 2017, 01:57:54 PM
Hello;

New here, using ExifTool.exe on a Windows XP/sp3 machine. I am trying to change the date in a .jpg file from 2014 to 2015 via:

C:\temp>exiftool.exe -v5 "-DateTimeOriginal+=1:0:0 0:0:0" 100_2045.jpg

from a DOS command window. The output is:

Shifting MIE-Doc:DateTimeOriginal if tag exists
Shifting Reconyx:DateTimeOriginal if tag exists
Shifting Kodak:DateTimeOriginal if tag exists
Shifting CanonRaw:DateTimeOriginal if tag exists
Shifting XMP-exif:DateTimeOriginal if tag exists
Shifting ExifIFD:DateTimeOriginal if tag exists
======== 100_2045.jpg
Rewriting 100_2045.jpg...
  Editing tags in: APP0 APP1 CIFF ExifIFD IFD0 JFIF MIE-Doc MakerNotes XMP
  Creating tags in:
JPEG APP0 (14 bytes):
    0000: 4a 46 49 46 00 01 01 00 00 01 00 01 00 00       [JFIF..........]
  Rewriting JFIF
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 SOS
Nothing changed in 100_2045.jpg
    0 image files updated
    1 image files unchanged

C:\temp>

Everything looks OK except the "Nothing changed in 100_2045.jpg" msg.

If there's something here telling me what the problem is, I just don't see it.

Can anyone help?

Or point me in the right direction?

TIA.

Charles...
Title: Re: Nothing changed in 100_2045.jpg -- can't see any error in -v5 output
Post by: Phil Harvey on April 19, 2017, 02:06:34 PM
There is nothing changed because there is no EXIF or XMP information, hence no DateTimeOriginal to shift.

- Phil
Title: Re: Nothing changed in 100_2045.jpg -- can't see any error in -v5 output
Post by: Charles on April 19, 2017, 04:06:33 PM
The photo, taken with a Kodak C613 digital camera, shows a date of "02/15/2014". I presumed this was encoded in the .jpg file and could be changed (i.e., corrected).

Question: What do you see in the output (that I don't) that indicates there is no EXIF or XMP information?

Thanks.
Title: Re: Nothing changed in 100_2045.jpg -- can't see any error in -v5 output
Post by: StarGeek on April 19, 2017, 04:57:13 PM
Quote from: Charles on April 19, 2017, 04:06:33 PM
The photo, taken with a Kodak C613 digital camera, shows a date of "02/15/2014".

What are you using that shows this date?  It's quite possible that the data is taken from some other tag or even from the file's timestamp.
Title: Re: Nothing changed in 100_2045.jpg -- can't see any error in -v5 output
Post by: Charles on April 19, 2017, 11:26:56 PM
Just the photo itself (i.e., the .jpg image file).

Perhaps the camera just imposes the date onto the photo. If this is the case, I can change with paint.exe.

However, I thought it better to change the date internally and then the corrected date would appear when the image is viewed/printed.

I appreciate your replies and the help.

Thanks!!

Title: Re: Nothing changed in 100_2045.jpg -- can't see any error in -v5 output
Post by: Hayo Baan on April 20, 2017, 01:51:51 AM
If the date is shown on the image when you view it, it not part of the metadata but of the image itself. In that case you'll need an image editor to change it...