Problem with "Set Created Date to EXIF"

Things you’d like to miss in the future...
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
SL09
Posts: 48
Joined: 13 Jun 2009 13:54

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: 64917
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: 48
Joined: 13 Jun 2009 13:54

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: 48
Joined: 13 Jun 2009 13:54

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: 64917
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: 48
Joined: 13 Jun 2009 13:54

Re: Problem with "Set Created Date to EXIF"

Post by SL09 »

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

SL09
Posts: 48
Joined: 13 Jun 2009 13:54

Re: Problem with "Set Created Date to EXIF"

Post by SL09 »

...
Attachments
Script with JPG.jpg
Script with JPG.jpg (13.4 KiB) Viewed 1998 times
Script with DNG.jpg
Script with DNG.jpg (77.96 KiB) Viewed 1998 times

admin
Site Admin
Posts: 64917
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: 48
Joined: 13 Jun 2009 13:54

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: 64917
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: 48
Joined: 13 Jun 2009 13:54

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: 48
Joined: 13 Jun 2009 13:54

Re: Problem with "Set Created Date to EXIF"

Post by SL09 »

.dng, not .png ... :D

admin
Site Admin
Posts: 64917
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: 48
Joined: 13 Jun 2009 13:54

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: 48
Joined: 13 Jun 2009 13:54

Re: Problem with "Set Created Date to EXIF"

Post by SL09 »

... + the screenshots ...
Attachments
Timestamp DNG 25.00.jpg
Timestamp DNG 25.00.jpg (17.21 KiB) Viewed 1890 times
Echo DNG.jpg
Echo DNG.jpg (14.98 KiB) Viewed 1890 times

Post Reply