Skip to content

Releases: ArthurHub/Android-Image-Cropper

2.8.0

27 Oct 11:48
Compare
Choose a tag to compare

2.7.0

06 Apr 14:02
Compare
Choose a tag to compare

2.6.0

09 Dec 11:20
Compare
Choose a tag to compare
  • Update to sdk v27
  • Update to gradle v3

2.5.1

07 Oct 10:33
Compare
Choose a tag to compare
  • Try solve manifest merger issue by adding transitive flag #405 (thx @j-garin)
  • Use thread pool executors for async image loading and cropping operations to prevent app hang if default executor is busy (thx @ruifcardoso)
  • Fix image rotation breaking min/max crop result restrictions #401
  • Propagate all extra data set on start crop activity intent back in crop result intent #352

2.5.0

01 Sep 15:47
Compare
Choose a tag to compare
  • Update to sdk v26
  • Update gradle plugin to 2.0
  • Update min sdk version to 14
  • Fix NPE in getWholeImageRect
  • Remove crop_image_menu_crop drawable support, replace with setCropMenuCropButtonIcon builder api.
  • Support setting crop button title via builder api.
  • Add string resource for "no permissions" toast.

2.4.7

07 Jul 13:39
Compare
Choose a tag to compare
  • Fix toolbar menu crop icon sometimes appears with random icon (#305)
  • Use CharSequence instead of string for activity title (thx @KentHawkings) (#297)
  • Fix class not found exception on some Samsung devices (Huge thanks to @Vantablack) (#332)
  • Add original image dimensions to CropResult (Thanks @gazialankus) (#327)
  • Making the library JitPack-friendly (Thanks @gazialankus) (#325)
  • Allow a Fragment to call the startPickImageActivity help method in CropImage (Thanks @cdavietei) (#315)

2.4.5

30 May 13:12
Compare
Choose a tag to compare
  • Fix undefined drawable in Android Studio 3.0 (thx @adrien-aubel)

2.4.4

13 May 12:45
Compare
Choose a tag to compare
  • Fix image exif (rotation) data not always extracted during image loading (thx @danikula).

2.4.3

28 Apr 17:20
Compare
Choose a tag to compare
  • Adding option to omit camera intents on getPickImageChooserIntent (thx Hugo Rossi)
  • Portuguese Language localization (thx Hugo Rossi)
  • Removed saving bitmap into parcel in onSaveInstanceState to prevent TransactionTooLargeException
  • By default nothing will happen and the view will be restored empty (if cropping image loaded using bitmap).
  • Added config SaveBitmapToInstanceState to enable saving bitmap to temp file so it can be restored (default is false because of possible performance implications).
  • Always prefer using URI to load image from cropping!
  • Fix restore state not restoring rotation.
  • Fix initial crop window may be in invalid position because reading previous image instance state.

2.3.1

09 Sep 12:43
Compare
Choose a tag to compare

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 and OnSaveCroppedImageCompleteListener is deprecated, use OnCropImageCompleteListener 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.