I needed the ability to specify instagram aspect ratios in the crop feature, namely 4:5 and 1.91:1. This pull request allows you to override the default aspect ratios with your own set.
In addition to this, I want to display images edited with this library in a vertical scroll with the image filling the width of the screen. This will look weird if the photo is cropped to an aspect ratio of 1:10. Therefore, I have added the ability to set a minimum and maximum supported aspect ratio so you can allow free hand cropping but still protect your app from unusual aspect ratios
Apologies this change also includes the changes of my previous pull request (#65). I should have made a branch for those changes
I needed the ability to specify instagram aspect ratios in the crop feature, namely 4:5 and 1.91:1. This pull request allows you to override the default aspect ratios with your own set.
In addition to this, I want to display images edited with this library in a vertical scroll with the image filling the width of the screen. This will look weird if the photo is cropped to an aspect ratio of 1:10. Therefore, I have added the ability to set a minimum and maximum supported aspect ratio so you can allow free hand cropping but still protect your app from unusual aspect ratios
Apologies this change also includes the changes of my previous pull request (#65). I should have made a branch for those changes