XF 1.3 How to enable EXIF Rotation?

CarlosMST

Member
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.
 
This is my PHP.info server build information
kEk1GRV.png


and this is my EXIF info
r0gWPFD.png


I have XF 1.3 Installed, and I try to upload this faces images, especially edited for testing reasons:

http://i.imgur.com/K0HN8Zh.jpg
http://i.imgur.com/xy8rJxo.jpg
http://i.imgur.com/nc5Hlbb.jpg
http://i.imgur.com/7MDlQhI.jpg
http://i.imgur.com/5cxQzWq.jpg
http://i.imgur.com/56Gny6l.jpg

Additionally I attached the photos in this post with drag and drop, but not rotate automatically too.
Maybe it's a bug?
 

Attachments

  • face5.webp
    face5.webp
    10.9 KB · Views: 10
  • face3.webp
    face3.webp
    27.4 KB · Views: 11
  • face2.webp
    face2.webp
    9.9 KB · Views: 9
  • face4.webp
    face4.webp
    39.2 KB · Views: 10
  • face1.webp
    face1.webp
    27.5 KB · Views: 8
  • face6.webp
    face6.webp
    21.6 KB · Views: 11
Last edited:
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
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).
 
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.
 
:)
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.webp
 
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?
 
Top Bottom