Jump to content

Export files preserving dates


Recommended Posts

Greetings,

I use Affinity Photo 2.5.3 on mac monterey and the question is:

Can you process a .JPG image and export as a .JPG file without changing all the dates stored in the document?

A thousand thanks...

Link to comment
Share on other sites

More likely, you should think no one has had time to understand your question and experiment yet.

Having done that, I can say that if I use Photo 2.5.3, Open a JPG saved in the file system and Export it to a new JPG saved in the file system, then all the metadata dates that I would expect to remain unchanged do, indeed, remain unchanged. Obviously the date the file was created, and the date the file was modified, change. But the date the photo was taken (for example) remains the same.

Perhaps your workflow is different? Or perhaps you're looking at the dates differently? (I'm looking, for this, at the Detail listing in the Metadata panel in Photo.)

Can you tell us the exact changes you see being made to the metadata, and provide us with two JPG files: the one that you Opened, and the one that you Exported?

Or possibly some screenshots showing the differences?

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

This is what I see using exiftool, 1st file is original, 2nd has been edited with Photo V1

exiftool -*date* P7300723.jpg
File Modification Date/Time     : 2024:08:11 13:57:32+01:00
File Access Date/Time           : 2024:08:26 19:10:40+01:00
File Creation Date/Time         : 2024:08:11 13:57:32+01:00
Modify Date                     : 2024:08:11 13:57:32
Date/Time Original              : 2024:07:30 13:26:49
Create Date                     : 2024:07:30 13:26:49
Date Time UTC                   : 0000:00:00 00:00:00
Metadata Date                   : 2024:08:11 13:57:32+01:00
Modify Date                     : 2024:08:11 13:57:32+01:00

exiftool -*date* P7300723AP.jpg
File Modification Date/Time     : 2024:08:26 19:13:06+01:00
File Access Date/Time           : 2024:08:26 19:13:08+01:00
File Creation Date/Time         : 2024:08:26 19:13:06+01:00
Modify Date                     : 2024:08:26 19:13:06
Date/Time Original              : 2024:07:30 13:26:49
Create Date                     : 2024:07:30 13:26:49
Metadata Date                   : 2024:08:26 19:13:06+01:00

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Link to comment
Share on other sites

Similar to @David in Яuislip, I took an original unedited .jpg file, shot on August 24 2024 at 19:46 (UTC+1),  copied it to a different location and ran it through exiftool /filename.jpg -g1 | grep -i date

I got the following:

File Modification Date/Time     : 2024:08:24 19:46:42+01:00

File Access Date/Time           : 2024:08:26 19:56:23+01:00

File Inode Change Date/Time     : 2024:08:26 19:55:20+01:00

Modify Date                     : 2024:08:24 19:46:42

Date/Time Original              : 2024:08:24 19:46:42

Create Date                     : 2024:08:24 19:46:42

Create Date                     : 2024:08:24 19:46:42.908+01:00

Date/Time Original              : 2024:08:24 19:46:42.908+01:00

Modify Date                     : 2024:08:24 19:46:42.908+01:00

The fields with today's date above (File Access and File Inode Change) are filestystem dates unrelated to the image metadata.

This evening opened the file in Affinity Photo 2.5.3, made some minor amendments and exported it with a different file name.

I then ran it through the same ExifTool command and got the following:

File Modification Date/Time     : 2024:08:26 19:56:20+01:00

File Access Date/Time           : 2024:08:26 19:56:22+01:00

File Inode Change Date/Time     : 2024:08:26 19:56:20+01:00

Modify Date                     : 2024:08:26 19:56:20

Date/Time Original              : 2024:08:24 19:46:42

Create Date                     : 2024:08:24 19:46:42.908+01:00

Metadata Date                   : 2024:08:26 19:56:20+01:00

Profile Date Time               : 2024:08:26 07:58:43

Date/Time Original              : 2024:08:24 19:46:42.908

Hope that helps.

 

 

 

Edited by h_d
Added -g1 from my original ExifTool command to include multiple groups (eg ExifIFD and various XMP groups).

Affinity Photo 2.5.3,  Affinity Designer 2.5.3, Affinity Publisher 2.5.3, Mac OSX 14.5, 2018 MacBook Pro 15" Intel.

Link to comment
Share on other sites

@walt.farrell @David in Яuislip @h_d

In the meantime, thank you for your time;

You're right, maybe I explained myself badly, I'll fix it right away, apologizing for my English:

I work on a catalog of photos of objects on behalf of those who create and sell them.
I send these photos via DropBox and they are viewed on smartphones or pads with folder sharing;

Important detail: we're talking about unique pieces;
the catalog is viewed in Photo mode grouped by month, so far so good, this collaboration has been going on for a long time with mutual satisfaction.
Now, however, the need was to know which items were sold and the request was to put a mark on the photo that was sold so that the seller was aware of it.
No sooner said than done, I start to modify some photos but these replaced on DropBox lose the original temporal position, so the request to modify the photos but not the original dates.
Hoping that my explanation was clear enough to be understood, I thank everyone, every suggestion is welcome.

Link to comment
Share on other sites

NB the difference between filesystem metadata and image metadata.

I would guess that when you 'put a mark on the photo', you are modifying the filesystem information. If Dropbox sorts by file modification date, then it will update the sort order accordingly: most recently modified file (not image) at the top of the list.

I don't think there's any way that Affinity Photo could change this behaviour. 

Can Dropbox sort by file creation date? Can it sort by Create Date, or Date/Time Original, which remain unchanged in the image metadata?

If not, you would need to use a command-line utility like ExifTool to change the filesystem modification date. Which I fear is outside the scope of this forum.

 

Affinity Photo 2.5.3,  Affinity Designer 2.5.3, Affinity Publisher 2.5.3, Mac OSX 14.5, 2018 MacBook Pro 15" Intel.

Link to comment
Share on other sites

3 hours ago, h_d said:

NB the difference between filesystem metadata and image metadata.

I would guess that when you 'put a mark on the photo', you are modifying the filesystem information. If Dropbox sorts by file modification date, then it will update the sort order accordingly: most recently modified file (not image) at the top of the list.

I don't think there's any way that Affinity Photo could change this behaviour. 

Can Dropbox sort by file creation date? Can it sort by Create Date, or Date/Time Original, which remain unchanged in the image metadata?

If not, you would need to use a command-line utility like ExifTool to change the filesystem modification date. Which I fear is outside the scope of this forum.

 

You are absolutely right,


I have double checked everything and also contacted DropBox;
so, the problem is not APhoto but DropBox, Affinity works perfectly;
I am sorry to have taken advantage of your time due only to my inexperience.


I am sure that you do not hold it against me and that in the future I will be able to have your collaboration again.
You are wonderful people...Thank you... 👋

Link to comment
Share on other sites

4 hours ago, street79 said:

I am sure that you do not hold it against me

Absolutely not. The users who post here are always happy to help and share their knowledge if they can.

Affinity Photo 2.5.3,  Affinity Designer 2.5.3, Affinity Publisher 2.5.3, Mac OSX 14.5, 2018 MacBook Pro 15" Intel.

Link to comment
Share on other sites

5 hours ago, street79 said:

I am sorry to have taken advantage of your time due only to my inexperience.

If you didn't post problems I would be reduced to reading the news. And that usually depresses the hell out of me. There are a lot of people here on the forums who are really truly happy to help. 

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

You're welcome.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.