Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate MediaStore.Image.ORIENTATION to ExifInterface.ORIENTATION to keep orientation processing proper. #1269

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 18, 2016

  1. MediaStoreRequestHandler: read MediaStore.Image.ORIENTATION value and…

    … translate it to ExifInterface.ORIENTATION_* value.
    
    Picasso determines orientation according to ExifInterface.ORIENTATION_*. All possible values in MediaStore.Image.ORIENTATION are: 0, 90, 180, 270 (according to: https://developer.android.com/reference/android/provider/MediaStore.Images.ImageColumns.html#ORIENTATION). The values differ, thus orientation read from MediaStore must be translated to ExifInterface.ORIENTATION_* value.
    
    Updated RequestHandler::getExifOrientation description.
    RobertM-BLS committed Jan 18, 2016
    Configuration menu
    Copy the full SHA
    9dee444 View commit details
    Browse the repository at this point in the history