Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6470053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:03:53+00:00 2026-05-25T06:03:53+00:00

I am loading JPGs that are flagged with arbitrary EXIF orientation data (one of

  • 0

I am loading JPGs that are flagged with arbitrary EXIF orientation data (one of 8 orientations). I downloaded the eight sample image files from here (linked from this blog post).

Image 8 represents EXIF tag 8, which is a 90 degree clockwise rotation. This can be confirmed by looking at this image in a dumb viewer, like Paintbrush.

However, when I load it in a UIImage in my iOS project, and call -imageOrientation on it, I get UIImageOrientationLeft. According to the docs here,

UIImageOrientationLeft

The image is rotated 90 degrees counterclockwise, as shown here.

…which is not what the underlying image looks like.

The opposite is true of EXIF orientation 6, which I expect to show up as Left, but which appears as Right.

Are the docs wrong here? Am I missing something obvious? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:03:54+00:00Added an answer on May 25, 2026 at 6:03 am

    I had the same problem for a while. It seems that the UIImageOrientation documentation describes what happens to an upright image if you apply the specified orientation. For example, if you take an upright image and apply UIImageOrientationLeft, it will come out rotated counterclockwise by 90°.

    The exif documentation, on the other hand, describes what the orientation of the image data is to generate an upright image. So for EXIF code 8, the image data must be rotated 90° clockwise to result in an upright image display.

    It turns out that only UIImageOrientationLeft and UIImageOrientationRight have this problem, as all the rest come out the same either way you look at it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When loading two CSS files via an include I am only seeing one of
When loading one view in to another with jquery i do that. In file
Loading the image one time works as done in the following steps (for code
I have a small flash file that just loads and shows one image scaled
Upon loading into a C++ program a Prolog program that contains the command 'send'
Im loading an image from a SQL CE db and then trying to load
When loading an image from the web I am getting a black screen. I
When loading data into Core Data, my child objects aren't getting the parent ID
I loading all data in UITableView section. i getting result of above screen. I
When loading an image into memory, does .Net use DDB, DIB, or something else

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.