Hi all !
Gallery is becoming very intersting. Please continue
I used to make my own script for generating statics galleries from my photographs.
My camera [1] store in an EXIF header, the orientation of the picture from a set of mercury balls. With that information, my script can rotate automaticaly all pictures. This is very practical.
Could Gallery does this feature ? That would be very pleasant.
Here is some informations :
The EXIF field is named "Orientation"
the value can be 90 or 270.
Personnaly I use ImageMagick for the rotation, but we don't care in this case.
Thanks a lot
--
Eole
Posts: 3473
This is available already. It's a configurable option.
Posts: 47
Yea. Just start uploading into one of the latest releases (1.4-pl1 will work) and it will start rotating them based on the EXIF header. I believe it even does it without losing any quality now.
Posts: 2
that is good news !
But, do you delete the field Orientation after the rotation ?
Because, there's some viewers that also use this EXIF field for auto rotation.
It would be anoying to see the picture rotated again, when you download it on your computer.
Cheers.
--
Eole
Posts: 3474
No. Right now we use Jhead, which doesn't seem to support editing EXIF fields. In Gallery 2, we're investigating some new tools which will allow us to reset orientation values. So yeah, it's a little quirky.
-Beckett (beck@beckettmw.com )
Posts: 40
the current version of jhead (with the -autorot option) rotates the image and set the orientation flag to 1 (no rotation) so this should work great in gallery2!
See http://www.sentex.net/~mwandel/jhead/usage.html for more details
I'll check what is used at the moment and write a module or modify the existing stuff.