Skip to content

[camera, image_picker] Image is rotated after taking photo #35334

@aleksvujic

Description

@aleksvujic

Steps to Reproduce

  1. Clone the repository https://github.com/aleksvujic/CameraBug.
  2. Run the application on Nexus 5X API 26, Android 8.0, x86_64.
  3. Click on Select image.
  4. Choose Use Camera (if running for the first time, it will ask you for permission).
  5. Camera preview will show up. Preview is not rotated.
  6. Take a photo. Image will be ROTATED!
  7. Click check icon, image preview inside Image.file will be ROTATED as well!

NOTE: When choosing Use gallery, the selected image is not rotated. It only gets rotated when you use the camera.

It happens on iOS and Android.

Visual representation

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: imagesLoading, displaying, rendering imagescustomer: crowdAffects or could affect many people, though not necessarily a specific customer.p: cameraThe camera pluginp: image_pickerThe Image Picker plugin.packageflutter/packages repository. See also p: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions