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

Error Width / Height in Portrait mode #102

Open
AntoineChauviere opened this issue Feb 26, 2023 · 0 comments
Open

Error Width / Height in Portrait mode #102

AntoineChauviere opened this issue Feb 26, 2023 · 0 comments

Comments

@AntoineChauviere
Copy link

AntoineChauviere commented Feb 26, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant