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

Error Width / Height in Portrait mode  #102

@AntoineChauviere

Description

@AntoineChauviere

Please help...
I'm in PortraitUp mode and when I took a picture with camera, I have these values :

properties.width = 1280 / properties.height = 720

It should be the other way around i don't understand.
I would like to have properties.width = 720 / properties.height = 1280

Code :
final image = await _controller.takePicture();
ImageProperties properties = await FlutterNativeImage.getImageProperties(image.path);

Note :
When I printed properties.orientation ==> ImageOrientation.rotate90

It works on iPhone 12 but not in Google Pixel Android

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions