Problem with "Set Created Date to EXIF"
Forum rules
READ THIS AND DO IT!!!
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%).
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.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
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%).
-
SL09
- Posts: 53
- Joined: 13 Jun 2009 13:54
- Location: win11 | 100%
Problem with "Set Created Date to EXIF"
There is a command that would be very useful, but does not work with certain file types:
File special | Set Created Date to EXIF
With .jpg, there is no problem. But with .dng {Huawei P30 Pro VOG-L29}, there is simply no reaction, the 'Date Created' stays the same.
Exiftool(GUI) shows several dates :
- FileAccessDate (the useless one that changes all the time) - as shown in XYPlorer
- FileModifyDate - as shown in XYPlorer
- FileCreateDate - as shown in XYPlorer (but not the correct one)
In the corresponding .jpg, I see a 'CreateDate' value, absent in the .dng - maybe the cause of the problem ?
- DateTimeOriginal (in the 'Exif' tab, in both image types) shows the real date the file was created
Wouldn't it be possible to retrieve the Date Created from the 'DateTimeOriginal' value instead of [no reaction] ?
File special | Set Created Date to EXIF
With .jpg, there is no problem. But with .dng {Huawei P30 Pro VOG-L29}, there is simply no reaction, the 'Date Created' stays the same.
Exiftool(GUI) shows several dates :
- FileAccessDate (the useless one that changes all the time) - as shown in XYPlorer
- FileModifyDate - as shown in XYPlorer
- FileCreateDate - as shown in XYPlorer (but not the correct one)
In the corresponding .jpg, I see a 'CreateDate' value, absent in the .dng - maybe the cause of the problem ?
- DateTimeOriginal (in the 'Exif' tab, in both image types) shows the real date the file was created
Wouldn't it be possible to retrieve the Date Created from the 'DateTimeOriginal' value instead of [no reaction] ?
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Problem with "Set Created Date to EXIF"
Select the file and run
echo <dateexif yyyy-mm-dd hh:nn:ss>; through the address bar. Do you get a date?FAQ | XY News RSS | XY X
-
SL09
- Posts: 53
- Joined: 13 Jun 2009 13:54
- Location: win11 | 100%
Re: Problem with "Set Created Date to EXIF"
> Do you get a date?
There is no date if a .dng is selected, only (i) Echo
With .jpg, cr2 the date (and time) shown is identical to the data in the list of files
By the way:
- For .psd generated from a .dng "without" CreationDate, the command shows the data as in "DateTimeOriginal" [ExifToolGUI]. Some sort of tunneling ...
- For .MP4 {those are created by my Canon 6 D Mark II} the same thing as with the .dng happens
There is no date if a .dng is selected, only (i) Echo
With .jpg, cr2 the date (and time) shown is identical to the data in the list of files
By the way:
- For .psd generated from a .dng "without" CreationDate, the command shows the data as in "DateTimeOriginal" [ExifToolGUI]. Some sort of tunneling ...
- For .MP4 {those are created by my Canon 6 D Mark II} the same thing as with the .dng happens
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Problem with "Set Created Date to EXIF"
Just checked the Help and it reveals that the function is limited to JPEG and TIFF files:
You will also get an error message now: "Could not retrieve EXIF date."
BUT: If the shell property "Date taken" can see the date, then this date is taken as a fallback for the non-retrievable EXIF date. And this will work for ALL image file types that can probably have a "Date taken" property. Will update the Help accordingly.
Then I checked the code and it turns out that the help is wrong. It's currently even more limited to these extensions: .jfif .jpg .jpeg .jpe. This bug will be fixed, but it won't help your case.Set Created Date to Exif
Sets the Created date of each selected image file (JPEG, TIFF) to its Exif date.
You will also get an error message now: "Could not retrieve EXIF date."
BUT: If the shell property "Date taken" can see the date, then this date is taken as a fallback for the non-retrievable EXIF date. And this will work for ALL image file types that can probably have a "Date taken" property. Will update the Help accordingly.
FAQ | XY News RSS | XY X
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Problem with "Set Created Date to EXIF"
@Don: Since we are on a related subject, I just tested this change out hoping it would resolve a discrepancy I have always had where some images would show the date for the XY special prop, and others wouldn't, the non and working jpg images have the date available as <dateexif> and System.Photo.DateTaken though, just the special prop column and #image.datetaken doesn't display them.
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Problem with "Set Created Date to EXIF"
I updated to .0135 to test, and I receive the following error now with the special property column visible in the same image folder, and the list pane aborts after only 2 files are listed, of a folder of ~500. If I use fresh I get the smaller error dialog and then a silent close too.
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Problem with "Set Created Date to EXIF"
Oh, not here. Anyway, I can fix it.
BTW, the inconsistency you noticed goes back to this change:
Now I would say, since the v17.00.0102 and later state is inconsistent with other places in XY, go back to before v17.00.0102.
BTW, the inconsistency you noticed goes back to this change:
Code: Select all
v17.00.0102 - 2016-08-11 21:18
* Special Properties: Property "Date Taken" (#image.datetaken) now only
draws on Exif Tag 0x9003 (DateTimeOriginal).
Before, it fell back to Exif Tag 0x0132 (DateTime) if DateTimeOriginal was
not available. Disadvantage of the fall back strategy: a blurred relation
between display and reality.
FAQ | XY News RSS | XY X
-
SL09
- Posts: 53
- Joined: 13 Jun 2009 13:54
- Location: win11 | 100%
Re: Problem with "Set Created Date to EXIF"
It seems I started quite a nasty process for the programmer-in-chief ... Thank you for (all) your work !
> the function is limited to JPEG and TIFF files
I never would have had the idea to consult the helpfile ... So sorry if I over-estimated the program. But:
As far as I remember, the function DID work with every Canon Raw file, beinning with those out of my Powershot S60 (.CRW), 400 D, 50 D, 6 D & Mark II (all called .CR2, but certainly quite different one from the other).
Recently, I found some .JPGs showing nothing when I call [echo <dateexif yyyy-mm-dd hh:nn:ss>;]. They date from 2002 and older, produced by a Videocamera with a photo function. ExifToolGUI shows no data in the EXIF tab.
> the function is limited to JPEG and TIFF files
I never would have had the idea to consult the helpfile ... So sorry if I over-estimated the program. But:
As far as I remember, the function DID work with every Canon Raw file, beinning with those out of my Powershot S60 (.CRW), 400 D, 50 D, 6 D & Mark II (all called .CR2, but certainly quite different one from the other).
Recently, I found some .JPGs showing nothing when I call [echo <dateexif yyyy-mm-dd hh:nn:ss>;]. They date from 2002 and older, produced by a Videocamera with a photo function. ExifToolGUI shows no data in the EXIF tab.
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Problem with "Set Created Date to EXIF"
Business as usual. Actually the Help file was wrong here, I could improve the app, and everything should work now in the current beta.
FAQ | XY News RSS | XY X
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Problem with "Set Created Date to EXIF"
Confirmed fixed in .0136 
-
SL09
- Posts: 53
- Joined: 13 Jun 2009 13:54
- Location: win11 | 100%
Re: Problem with "Set Created Date to EXIF"
I tried the Beta (.0137). It runs in a folder 'D:\PROV\xyplorer_24.90.0137_beta_noinstall', without licence data ("### 30-Day Trial Version"). With this, I only get a message "Could not retrieve EXIF date."
I consider it too risky to install the Beta instead of my regular version; also, I see no opportunity to enter my license data into the Beta. So I will wait for the next regular update ...
I consider it too risky to install the Beta instead of my regular version; also, I see no opportunity to enter my license data into the Beta. So I will wait for the next regular update ...
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Problem with "Set Created Date to EXIF"
A Codec is needed to extract this kind of information.
FAQ | XY News RSS | XY X
-
SL09
- Posts: 53
- Joined: 13 Jun 2009 13:54
- Location: win11 | 100%
Re: Problem with "Set Created Date to EXIF"
> A Codec is needed to extract this kind of information.
... complicated ... another Codec ??
As I see in my posts, in 2016 I was successfull with the CameraCodecPack from Microsoft - then in 2018 I bought FastPictureViewer and FastPictureViewerCodecPack 3.8.0.97 and installed it. I remember that without it, XYplorer couldn't show previews of .CR2 files.
The Beta shows the preview, so it has access to this Codec.
When I use the command "Datei | Datei speziell | Erstelldatum auf EXIF setzen"
- the regular version does nothing
- the Beta shows the message "Could not retrieve EXIF date."
Are these so very different functions ? what furhter "Codec" would I need ??
... complicated ... another Codec ??
As I see in my posts, in 2016 I was successfull with the CameraCodecPack from Microsoft - then in 2018 I bought FastPictureViewer and FastPictureViewerCodecPack 3.8.0.97 and installed it. I remember that without it, XYplorer couldn't show previews of .CR2 files.
The Beta shows the preview, so it has access to this Codec.
When I use the command "Datei | Datei speziell | Erstelldatum auf EXIF setzen"
- the regular version does nothing
- the Beta shows the message "Could not retrieve EXIF date."
Are these so very different functions ? what furhter "Codec" would I need ??
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Problem with "Set Created Date to EXIF"
One Codec should be enough.
Can you mail me a CR2 file for testing?
Can you mail me a CR2 file for testing?
FAQ | XY News RSS | XY X
XYplorer Beta Club