Scale image after cropping
deM1d opened this issue · comments
Hi. I want to scale cropped image to specific size. For example I want image side must be maximum 1024 px. After user picked and cropped image it will be scaled(Example : Source(width=2048, height=512). Result(width=1024, height=256)). Is there easy way to do it by this library or I should scale image by my hands?
Thanks for help guys!
Call the scale method with the desired with on the CropImageView.
I use cropping directly(by CropImageContract) without CropImageView.
Then you'll have to switch to CropImageView
or do the cropping yourself.
In my opinion, I'd get rid of the CropImageContract
s but I know a lot of people use them.
Thank you for help!