2.3.1
2.3.1
- Fix image picker for xiaomi and huawei phones (thx @nicolabeghin)
- Fix crop window get corrupted on
CropImageView
resize.
2.3.0
- Change required width/height behavior to support resizing (inside/fit/exact) see wiki for details.
- Add sampling fallback to lower cropped image resolution on OOM error (if image loaded from URI).
- Setting aspect ratio will also set it to fixed, to help with confusion, add clear aspect ratio method.
- Add support for setting min/max crop result size in code on CropImageView.
- Fix cropping failing bug when skia fails region cropping.
- Add Fallback to Intent.ACTION_PICK if no intent found for Intent.ACTION_GET_CONTENT (thx geolyth)
- Multi-touch support for cropping window (experimental, thx bbwharris)
- BREAKING CHANGES:
- If you previously used requested width/height the default behavior now is to resize inside the cropped image, to preserve the previous behavior you need to pass the SAMPLING option.
OnGetCroppedImageCompleteListener
andOnSaveCroppedImageCompleteListener
is deprecated, useOnCropImageCompleteListener
that combines the two and provides the result object as crop activity.- Set aspect ratio also sets fixed aspect ratio to true, if this is not the desired behavior set the fix aspect ratio flag manually or call the method after calling set aspect ratio.