• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 How to enable EXIF Rotation?

#1
Hello.
When I upload images of rotated faces, they are not rotating automatically, only maintain their orientation.
I'm trying to search an Option for Enable EXIF Rotation in the ACP, but not found any.
Is possible to enable/disable this function?
What are the requirements?
Is necessary a diferent Image Processor like ImageMagick PECL Extension?
Thanks in advance.
 
#3

Attachments

Last edited:
#5
Do those photos have EXIF info stripped. I didn't see any on the one I downloaded.
@Tracy Perry I downloaded this photos from Internet, and then I edited to rotate for testing The Auto-rotation support.
Sorry, don't think I'm making this post to annoy, maybe I'm ignoring something that I don't know.
I thought to EXIF Rotation is a function that automatically rotate any pictures in JPG by Facial Recognition, but according to what you say I think I'm totally wrong.
Please could you explain me a little of EXIF Rotation? Which types of images support that?
Thanks in advance.
 
Last edited:

Tracy Perry

Well-known member
#6
@Tracy Perry
I thought to EXIF Rotation is a function that automatically rotated any pictures in JPG by Facial Recognition, but according to what you say I think I'm totally wrong.
Please could you explain me a little of EXIF Rotation? Which types of images support that?
I don't believe that GD or ImageMagick does facial recognition. :)
When a camera takes a photo, it typically attaches information to it that shows what kind of camera, the f-stop, the image orientation and other info (see here). The rotation aspects (from what I understand) use the EXIF data to orientate the image correctly (you see this frequently with photos from an iPhone that were taken with the volume buttons pointed up to take it and then display it on a Windows computer it will be upside down).
 
#7
I don't believe that GD or ImageMagick does facial recognition. :)
:)

Sorry, now I known what I'm totally wrong.
I searched additional information about EXIF:

Apparently this only works in a sequence of images, not with only one photo, because there wouldn't where to exchange information between photos. I thought the pictures of Iphone kept information from the accelerometer, but that is not correct.

There is no field to record readouts of a camera's accelerometers or inertial navigation system. Such data could help to establish the relationship between the image sensor’s XYZ coordinate system and the gravity vector (i.e., which way is down in this image). It could also establish relative camera positions or orientations in a sequence of photos.
Thanks for your time, at least for today I learned something new.
Good Bye.
 

Tracy Perry

Well-known member
#8
:)
Apparently this only works in a sequence of images, not with only one photo, because there wouldn't where to exchange information between photos. I thought the pictures of Iphone kept information from the accelerometer, but that is not correct.
It should work with one photo also.
The below image shows upside down on my Windows computer when I display it. When I upload it here it should orientate right side up.
image.jpg
 
#9
It should work with one photo also.
The below image shows upside down on my Windows computer when I display it. When I upload it here it should orientate right side up.
View attachment 71274
Then also works with a single image? Cool!

But why when I download the Image you attached, and view with Photoshop, EXIF Info is missing?

This is the link to your attached photo: http://xenforo.com/community/attachments/image-jpg.71274/

Apparently the server strip this Info after rotate the image?