You are reading a single comment by @rhb and its replies. Click here to read the full conversation.
  • Images are rotated by the server according to the EXIF information in the image, specifically the FlipDirection:

    • TopLeftSide = 1
    • TopRightSide = 2
    • BottomRightSide = 3
    • BottomLeftSide = 4
    • LeftSideTop = 5
    • RightSideTop = 6
    • RightSideBottom = 7
    • LeftSideBottom = 8

    If the EXIF is absent we leave the image alone.

    The EXIF may be absent, for example if the phone is not calibrated (the sensor that determines rotation, orientation, etc).

    I did some data thing on this a while ago to see whether this code was still needed. Some 95% of images provide it.

    If it is there... we rotate the image. If it is not, we leave it alone. Looking at the raw images that were uploaded it was not there.

    Were these images processed by some other program first?

  • Were these images processed by some other program first?

    I've used a free app called Vignette on all my smartphones as I get lower res pics without needing to adjust good camera settings or reducing image afterwards.

    The pics I shared were taken using that app. If I get same problem on main camera (test images attached) then it's the phone not site i guess?

    Edit: the screen captures show how lfgss reoriented the 'potrait' pic from main camera app. Vignette pics missing this info then?


    4 Attachments

    • 20180324_190011.jpg
    • 20180324_185945.jpg
    • Screenshot_20180324-190211.jpg
    • Screenshot_20180324-190338.jpg
  • Edit: the screen captures show how lfgss reoriented the 'potrait' pic from main camera app. Vignette pics missing this info then?

    Spot on.

    Your camera and phone is good, the EXIF correctly allows the site to rotate. The Vignette app not so good, it's removing or corrupting the FlipDirection part of the EXIF.

About

Avatar for rhb @rhb started