ONLY rotate and do nothing else
Moderators: helmut, XnTriq, xnview
ONLY rotate and do nothing else
Hello,
I just want to rotate all JPEGs and their thumbs depending on EXIF-orientation flags (-jpegtrans exif) but I want to be very sure that nconvert do nothing else.
So I want that the picture quality remains even as the file dates, the EXIF-datas, and everything else.
Is that possible with nconvert and which command line must be used?
Thanks for help
bye
I just want to rotate all JPEGs and their thumbs depending on EXIF-orientation flags (-jpegtrans exif) but I want to be very sure that nconvert do nothing else.
So I want that the picture quality remains even as the file dates, the EXIF-datas, and everything else.
Is that possible with nconvert and which command line must be used?
Thanks for help
bye
Re: ONLY rotate and do nothing else
-jpegtrans exif don't change quality, exif, ... For file date, you must use -keepfiledatexntest wrote:Hello,
I just want to rotate all JPEGs and their thumbs depending on EXIF-orientation flags (-jpegtrans exif) but I want to be very sure that nconvert do nothing else.
So I want that the picture quality remains even as the file dates, the EXIF-datas, and everything else.
Is that possible with nconvert and which command line must be used?
And perhaps better to make that on a copy of your folder

Pierre.
Not so easy
It's not so easy as it looks: using "nconvert -jpegtrans exif -keepfiledate" seems to change date/time information to actual.xnview wrote:jpegtrans use lossless transformation, so the quality is not change. Some pixels can be cropped if the size is not a multiple of 4xntest wrote:Can I be very shurethat "nconvert -jpegtrans exif -keepfiledate" do not change anything else than the rotation and the rotation of thumbs?

Re: Not so easy
With nconvert on windows???bob.b wrote:It's not so easy as it looks: using "nconvert -jpegtrans exif -keepfiledate" seems to change date/time information to actual.xnview wrote:jpegtrans use lossless transformation, so the quality is not change. Some pixels can be cropped if the size is not a multiple of 4xntest wrote:Can I be very shurethat "nconvert -jpegtrans exif -keepfiledate" do not change anything else than the rotation and the rotation of thumbs?
Pierre.
Re: Not so easy
Yes: "NCONVERT v4.78" on Windows.xnview wrote:With nconvert on windows???bob.b wrote: It's not so easy as it looks: using "nconvert -jpegtrans exif -keepfiledate" seems to change date/time information to actual.
(IMHO "-keepfiledate" parammeter "keeps" date/time of temporary "*.JP_" file produced while converting.)
BTW: What about some "-setexifdate" parammeter? It could be usefull...
Re: Not so easy
Strange, i've tried nconvert -keepfiledate, and file system date are not changed.bob.b wrote:Yes: "NCONVERT v4.78" on Windows.xnview wrote:With nconvert on windows???bob.b wrote: It's not so easy as it looks: using "nconvert -jpegtrans exif -keepfiledate" seems to change date/time information to actual.
(IMHO "-keepfiledate" parammeter "keeps" date/time of temporary "*.JP_" file produced while converting.)
BTW: What about some "-setexifdate" parammeter? It could be usefull...
Pierre.
Re: Not so easy
xnview wrote:Strange, i've tried nconvert -keepfiledate, and file system date are not changed.

- parammeter "-keepfiledate" doesn't work (only in this combination, otherwise it works fine),
- parammeter "-o outfile.jpg" doesn't work, i.e. only transformation of "actual" file occurs.
Used three images taken from digital camera (unedited) and one downloaded (withouth EXIF). Typed:
Code: Select all
"C:\Program Files\XnView\nconvert.exe" -o C:\Temp\test.jpg -jpegtrans exif -keepfiledate IMG_7370.JPG
Code: Select all
"C:\Program Files\XnView\nconvert.exe" -jpegtrans exif -keepfiledate IMG_7370_JPG
(Damn! Your antispam kicked me off 7 times till I changed "three-x" string to something else...

Re: Not so easy
This command doesn't work??bob.b wrote:.Code: Select all
"C:\Program Files\XnView\nconvert.exe" -jpegtrans exif -keepfiledate IMG_7370_JPG
Pierre.
Re: Not so easy
Works fine but changes date. On both of my computers. (And I'm sorry about "IMG_7730_JPG" - right is "IMG_7730.JPG". Copied to clipboard "too short" part of line and edited later on notebook keyboard caused this error.)xnview wrote:This command doesn't work??bob.b wrote:.Code: Select all
"C:\Program Files\XnView\nconvert.exe" -jpegtrans exif -keepfiledate IMG_7370_JPG
Re: Not so easy
After my test, creation & modified date are not modified, so i don't understandbob.b wrote:Works fine but changes date.xnview wrote:This command doesn't work??bob.b wrote:.Code: Select all
"C:\Program Files\XnView\nconvert.exe" -jpegtrans exif -keepfiledate IMG_7370_JPG
Pierre.
Re: Not so easy
Something's wrong, something's strange... I'm using NCONVERT.EXE, v4.78, 590336 bytes, file created at 2007-03-14 08:54:56.xnview wrote:After my test, creation & modified date are not modified, so i don't understand
Here is example how it works (slightly shortened):
Code: Select all
C:\Temp>dir *.jpg
29.04.2007 17:15 3 115 191 IMG_7369.JPG
29.04.2007 17:15 3 791 149 IMG_7370.JPG
29.04.2007 17:15 2 436 978 IMG_7371.JPG
C:\Temp>"C:\Program Files\XnView\nconvert.exe" -keepfiledate -jpegtrans exif *.jpg
** NCONVERT v4.78 (c) 1991-2005 Pierre-E Gougelet (Mar 14 2007/08:54:56) **
Version for Windows NT/9x/2000 (All rights reserved)
** This is a freeware software (for non commercial use)
Lossless transformation of IMG_7369.JPG : OK
Lossless transformation of IMG_7370.JPG : OK
Lossless transformation of IMG_7371.JPG : OK
C:\Temp>dir *.jpg
11.05.2007 17:30 3 056 033 IMG_7369.JPG
11.05.2007 17:30 3 678 968 IMG_7370.JPG
11.05.2007 17:30 2 389 996 IMG_7371.JPG
C:\Temp>