Hi:
I have been doing some rotations and I notice that some tags change.
Logically one tag is added like 'Modify date'
But then I get added
Image description
or
Software
Which in my case with a Canon camera ... states that they are from Olympus?.
NOT that it is toooo important but I am surprised...
Any sugestion?
Important tags keep unchanged.
Emilio
PS... after I finish the restoring, should I delete the .mie?
* save data
exiftool -overwrite_original -q -TagsFromFile "&mfin" -all:all aa.mie
Rotate the image
* restore data
exiftool -q -overwrite_original -TagsFromFile aa.mie -all:all -unsafe -orientation="normal" "&mfin"
Is your image rotation software adding these tags?
ExifTool will only add mandatory tags to the image, and the ones you mention aren't mandatory.
It is up to you whether or not you want to delete the MIE files when you are done.
- Phil
Phil:
The reason I am using exiftool is because when I rotate with my tool the
data gets erased...
Well almost... it remains something which is the very basic.
So there is no tags like the ones I mentioned remaining after the rotation
So I wonder where the Olympus bits come from ??
Thanks
Emilio
******** data left after I rotate any image with my aplicarion:
ExifTool Version Number : 8.22
File Name : EVILARO_2010_09_04_EVIL0636.JPG
Directory : E:/IM/Z2010B/PRUEBAS ROTAR
File Size : 9.8 MB
File Modification Date/Time : 2010:10:05 18:31:59+02:00
File Permissions : rw-rw-rw-
File Type : JPEG
MIME Type : image/jpeg
JFIF Version : 1.00
Resolution Unit : inches
X Resolution : 72
Y Resolution : 72
Comment : LEAD Technologies Inc. V1.01
Image Width : 4896
Image Height : 3264
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:4:4 (1 1)
Image Size : 4896x3264
OK. The other possibility is that the file "aa.mie" exists before your run your command. In this case, you will just add tags from the Canon camera, but it could have already contained tags from another (Olympus?) camera.
- Phil
Phil:
That was it....
I have to delete the .mie file before creating it... which is extrange
since the one exiftool creates should overwrite it.
Also I deleted it After the restoring.... NOT a good idea, the deleting of the file .mie is faster
than putting back the data on the file, so NO .mie is found.
And also I had to add some delays in between all this proceses, so processes where secuential...
Thanks...
Ps ... a NON important cuestion ... have you ever considered to make a ±90° rotating of
images...? ;)... as loosless as possible ... of course ;)
I'm glad that solved the problem.
Quote from: evilaro on October 05, 2010, 03:34:35 PM
Ps ... a NON important cuestion ... have you ever considered to make a ±90° rotating of
images...? ;)... as loosless as possible ... of course ;)
No. I use jpegtran for that.
- Phil
If it can help, IrfanView can do lossless JPEG rotation, also in batch mode, and based on the EXIF orientation info if present.
So if your camera has an orientation sensor but the images are still opened rotated by your favorite tool, you can run a batch on en entire folder to lossless rotate all according to EXIF - takes only a couple of clicks, and doesn't mess with the metadata.
Thanks:
That is what I need.
Emilio
Quote from: Kilrah on October 16, 2010, 08:50:54 AM
If it can help, IrfanView can do lossless JPEG rotation, also in batch mode, and based on the EXIF orientation info if present.
So if your camera has an orientation sensor but the images are still opened rotated by your favorite tool, you can run a batch on en entire folder to lossless rotate all according to EXIF - takes only a couple of clicks, and doesn't mess with the metadata.
:)
Sorry...
And taking advantage of your kindness....
Do you know of a Activex program (free or not)
that will handle all the image rotating zooming etc???
Thanks
Emilio
Quote from: Kilrah on October 16, 2010, 08:50:54 AM
If it can help, IrfanView can do lossless JPEG rotation, also in batch mode, and based on the EXIF orientation info if present.
So if your camera has an orientation sensor but the images are still opened rotated by your favorite tool, you can run a batch on en entire folder to lossless rotate all according to EXIF - takes only a couple of clicks, and doesn't mess with the metadata.