Closed sundariragavan closed 5 years ago
Hello, @sundariragavan. Thank you for contact me
As far as you know, default aspect ratio is 1:1.
I think you can get original image ratio or width and height.
So, you can set ratio when your app start.
@Override
public void onCreate(Bundle savedInstanceState) {
...
int width = originalImage.width;
int height = originalImage.height;
imageCropView.setAspectRatio(width, height);
...
}
By default the image is displaying 1:1 aspect ratio. How to display the original image in starting.