Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Bug] pictures and videos taken by cameraview on android appear rotated at 90 degrees. Only images can be fixed with bitmap not videos. #1803

@brettnguyen

Description

@brettnguyen

Description

Images and videos appear sideways when taken on android. Rotation for where the image or video preview display on the xaml or .cs don’t correct the output nor does putting rotation in the captured media.

Stack Trace

Link to Reproduction Sample

Steps to Reproduce

  1. Download Xamarin community toolkit nuget to project
  2. Input cameraview into xaml and xaml.cs then take picture or video on android emulator or device
  3. Than view preview for either video or picture display

Expected Behavior

Not rotated

Actual Behavior

Rotated 90 degrees or sideways

Basic Information

  • Version with issue:
  • Last known good version:
  • IDE:
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:

Workaround

Bitmap so can be used to correct the images not videos

Reproduction imagery

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions