flutter_native_image icon indicating copy to clipboard operation
flutter_native_image copied to clipboard

Error Width / Height in Portrait mode

Open AntoineChauviere opened this issue 1 year ago • 0 comments

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

AntoineChauviere avatar Feb 26 '23 10:02 AntoineChauviere