flutter_native_image
flutter_native_image copied to clipboard
Error Width / Height in Portrait mode
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