JPEGTRANS does not use -keepfiledate

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

User avatar
Peter2
XnThusiast
Posts: 1348
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

JPEGTRANS does not use -keepfiledate

Post by Peter2 »

I have this command-line

Code: Select all

"D:\Program Files\nconvert.exe" -keepfiledate -jpegtrans exif -o "D:\xxx\Fotos\backup\459.jpg"   "D:\xxx\Fotos\backup\P1000459.JPG" 
In common, it works as expected. But in this case I get the CMD-message:

Code: Select all

** NCONVERT v7.70 (c) 1991-2019 Pierre-E Gougelet (Feb  1 2021/10:49:07) **
        Version for Windows NT/9x/2000/Xp/Vista/7  (All rights reserved)
** This is freeware software (for non-commercial use)
Lossless transformation of D:\xxx\Fotos\backup\P1000459.JPG : NOT NEEDED
The problem is: is doesn't only skis the jpegtrans, it also skips the -keepfiledate. And so I get a file with current date instead of original date ...
And my following nconvert-calls have to work with current date ..

What to do?
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
xnview
Author of XnView
Posts: 44817
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: JPEGTRANS does not use -keepfiledate

Post by xnview »

will be fixed
Pierre.