Problem with "Set Created Date to EXIF"

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
SL09
Posts: 53
Joined: 13 Jun 2009 13:54
Location: win11 | 100%

Re: Problem with "Set Created Date to EXIF"

Post by SL09 »

https://1drv.ms/f/s!AvCWnHRSWpkGjyHeL-m ... H?e=1Mo6bB

(the usability of MS Drive has decreased drastically, but direct download seems still possible)

- the .CR2 presents no problem at all: the Beta sets the Created date to EXIF
- the .dng produces the known error message "Could not retrieve EXIF date."

admin
Site Admin
Posts: 66543
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Problem with "Set Created Date to EXIF"

Post by admin »

Select the DNG file and run this through the XY address bar: echo get("exif", 0x9003); Any return?

SL09
Posts: 53
Joined: 13 Jun 2009 13:54
Location: win11 | 100%

Re: Problem with "Set Created Date to EXIF"

Post by SL09 »

Beta:
I get a window "XYplorer - Scripting"
with
"File: (Internal)
Script: (Untitled)" [light grey]
"1 echo get("exif", 0x9003);"

Regular version: the same thing, in German

SL09
Posts: 53
Joined: 13 Jun 2009 13:54
Location: win11 | 100%

Re: Problem with "Set Created Date to EXIF"

Post by SL09 »

... same text with the .CR2

and with .JPGs:
another window (i) Echo / the real date the foto was taken

admin
Site Admin
Posts: 66543
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Problem with "Set Created Date to EXIF"

Post by admin »

Hmm, Scripting | Step Mode is ticked? Untick it.

SL09
Posts: 53
Joined: 13 Jun 2009 13:54
Location: win11 | 100%

Re: Problem with "Set Created Date to EXIF"

Post by SL09 »

... is NOT ticked (in regular and Beta)

SL09
Posts: 53
Joined: 13 Jun 2009 13:54
Location: win11 | 100%

Re: Problem with "Set Created Date to EXIF"

Post by SL09 »

...
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 66543
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Problem with "Set Created Date to EXIF"

Post by admin »

Well, that means no chance for the DNG. Can you even preview/thumbnail it?

SL09
Posts: 53
Joined: 13 Jun 2009 13:54
Location: win11 | 100%

Re: Problem with "Set Created Date to EXIF"

Post by SL09 »

> no chance for the DNG. Can you even preview/thumbnail it?
The preview works
- in the Beta as well in the stable version 24.90.0100
- with .CR2, .dng, .jpg


As it seems, a problem lies in this command:
echo get("exif", 0x9003);

- the results are the same in the Beta (xyplorer_24.90.0137_beta_noinstall.zip) = the latest
AND in the stable version
i.e. with the .CR2 the same window appears as with the .dng; only with .jpg the correct info is displayed as "Echo" box. Error code is also the same for .png and .CR2 : (!) GCBFF:
I discovered the [Continue] button: after clicking it, an empty "Echo" window appears.

... but this would mean "no chance for the CR2" - which as we know is not true ...


With ExifToolGUI, I see the following infos:
in the .CR2 and .jpg:
- in section ---- ExifIFD ----
'CreateDate' and 'DateTimeOriginal' - both correct, the data I am dreaming of :P

('FileCreateDate' is shown in "---- System ----", this is the wrong data, apparently a FILE property)

in the .dng:
- in section ---- IFD0 ----
only 'DateTimeOriginal'
('FileCreateDate' in "---- System ----")

So you would have to get 'DateTimeOriginal' {ExifToolGUI shows no 0xNNNN}
for .dng in another section: "IFD0" instead of "ExifIFD"

admin
Site Admin
Posts: 66543
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Problem with "Set Created Date to EXIF"

Post by admin »

Should work a bit better in the next beta.

SL09
Posts: 53
Joined: 13 Jun 2009 13:54
Location: win11 | 100%

Re: Problem with "Set Created Date to EXIF"

Post by SL09 »

with Beta .0138, there is a new error message for the .CR2 and .png:
GCBFF: - Status=2 - <filename with path>
.jpg still work OK

SL09
Posts: 53
Joined: 13 Jun 2009 13:54
Location: win11 | 100%

Re: Problem with "Set Created Date to EXIF"

Post by SL09 »

.dng, not .png ... :D

admin
Site Admin
Posts: 66543
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Problem with "Set Created Date to EXIF"

Post by admin »

So I guess it works now?

SL09
Posts: 53
Joined: 13 Jun 2009 13:54
Location: win11 | 100%

Re: Problem with "Set Created Date to EXIF"

Post by SL09 »

> So I guess it works now?
'png' was just a typo - I never tried with .PNG since they contain NO EXIF data ...

Now with Beta 25.00.0000, there is partial success, but in a completely unexpected way:

[echo get("exif", 0x9003);] is now OK with .DNG [Echo DNG.jpg] - but still gives the "new" error message (in the script window) for .CR2

for the actual command 'Set Created date to EXIF' it is the inverse (??!)
- for .CR2, the correct date is set - as in the stable versions; the temporary dysfunction has been cured
- but not for .dng !! [Timestamp DNG 25.00.jpg]
btw same error for 'Set Modified date to EXIF' - 'Set Modified date to Current' works OK

So now the time_date of the .dng is found, but "cannnot" be applied ...

SL09
Posts: 53
Joined: 13 Jun 2009 13:54
Location: win11 | 100%

Re: Problem with "Set Created Date to EXIF"

Post by SL09 »

... + the screenshots ...
To see the attached files, you need to log into the forum.

Post Reply