Android-Image-Cropper

Image Cropping Library for Android, optimised for Camera / Gallery.

APACHE-2.0 License

Stars
1.2K

Bot releases are visible (Hide)

Android-Image-Cropper - 4.6.0 Latest Release

Published by vanniktech 2 months ago

Android-Image-Cropper - 4.5.0

Published by vanniktech almost 2 years ago

  • README: Slightly improve the Migration section. #520 (vanniktech)
  • API: Deprecate CropImageView.croppedImage #519 (vanniktech)
  • API: Deprecate CropImageView.isSaveBitmapToInstanceState #518 (vanniktech)
  • API: Remove deprecated methods from Version 4.4.0 in CropImageContractOption. #513 (vanniktech)
  • API: Remove deprecated methods from Version 4.4.0 in CropImage. #512 (vanniktech)
  • Behavior Change: Always try to return resized bitmap in CropResult. #509 (vanniktech)
  • Behavior Change: The crop area for CropShapes (Rectangle, Rectangle vertical only, Rectangle horizontal only) can now also be adjusted by dragging outside the Crop Area just like it's always been possible for CropShape.OVAL. #508 (vanniktech)
Android-Image-Cropper - 4.4.0

Published by vanniktech almost 2 years ago

  • API: CropImageOptions is now a data class. Currently with mutable properties, this will change to immutable soon. #490 (vanniktech)
  • API: CropImageView gets a setImageCropOptions method. #500 (vanniktech)
  • API: Deprecate CropImageContractOptions functions to modify CropImageOptions instance. #492 (vanniktech)
  • API: Make BitmapCroppingWorkerJob internal. #478 (vanniktech)
  • API: Make BitmapLoadingWorkerJob internal. #465 (vanniktech)
  • API: Make CropException inner objects internal. #470 (vanniktech)
  • API: Make CropImageIntentChooser internal. #485 (vanniktech)
  • API: Make CropImageOptions class final. #487 (vanniktech)
  • API: Make CropOverlayView internal. #468 (vanniktech)
  • API: Make CropWindowMoveHandler & CropWindowHandler internal. #467 (vanniktech)
  • Behavior Change: By default always show the guidelines. #494 (vanniktech)
  • Behavior change: By default show crop window on the entire image. #474 (vanniktech)
  • Deprecate: CropImage#get* functions are now deprecated as they seem to be unused. #469 (vanniktech)
  • New API: CropImageView#expectedImageSize which returns the expected image size, if cropping the image right now. #496 (vanniktech)
  • Raise minSdk from 16 to 21. #456 (vanniktech)
  • Sample: Enable StrictMode. #464 (vanniktech)
  • Sample: Showcase expectedImageSize in CustomActivity. #503 (vanniktech)
  • Strict Mode: Fix UnsafeIntentLaunchViolation when using CropImageActivity. #502 (vanniktech)

In addition, this release contains a lot of documentation fixes and refactorings.

Android-Image-Cropper - 4.3.3

Published by vanniktech almost 2 years ago

⚠️ Maven Coordinates have changed ⚠️

This library will no longer be published to Jitpack. The Maven Coordinates have changed, and the library is now on Maven Central. In order to consume the new update please change:

-implementation("com.github.CanHub:Android-Image-Cropper:4.3.2")
+implementation("com.vanniktech:android-image-cropper:4.3.3")

For now, everything else stays the same. vanniktech has taken over the maintenance of this library.

  • Kotlin Build Script, proper Maven Publishing, new workflows, Gradle Catalogue & much more #450 (vanniktech)
  • Correctly close resources in BitmapUtils. #440 (vanniktech)
  • Bugfix/437 setting toolbar color to white does nothing #438 (Devenom1)
Android-Image-Cropper - 4.3.2

Published by Canato about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/CanHub/Android-Image-Cropper/compare/4.3.1...4.3.2

Android-Image-Cropper - 4.3.1

Published by Canato about 2 years ago

🚀 34 - ⬇️ 152.8k - ⭐ 643 - 🔎 15 - 🍴 155

What's Changed

New Contributors

Full Changelog: https://github.com/CanHub/Android-Image-Cropper/compare/4.3.0...4.3.1

Android-Image-Cropper - 4.3.0

Published by Canato over 2 years ago

🚀 33 - ⬇️ 147.7k - ⭐ 578 - 🔎 17 - 🍴 147

What's Changed

New Contributors

Full Changelog: https://github.com/CanHub/Android-Image-Cropper/compare/4.2.1...4.3.0

Android-Image-Cropper - 4.2.1

Published by Canato over 2 years ago

🚀 32 - ⬇️ 116.3k - ⭐ 506 - 🔎 17 - 🍴 133

What's Changed

New Contributors

Full Changelog: https://github.com/CanHub/Android-Image-Cropper/compare/4.2.0...4.2.1

Android-Image-Cropper - 4.2.0

Published by Canato over 2 years ago

🚀 31 - ⬇️ 100.8k - ⭐ 478 - 🔎 17 - 🍴 126

Added

  • Added an option to skip manual editing and return entire image when required #324 @Devenom1

Fixed

  • Added missing support for ScaleType.CENTER_CROP #220 @scana
  • State is now preserved across configuration changes #296 @ClouddJR
  • Fix shadow bug #261 @kingspride

Changed

  • Update portuguese strings #321 @NowDev
Android-Image-Cropper - 4.1.0

Published by Canato over 2 years ago

🚀 30 - ⬇️ 86.1k - ⭐ 430 - 🔎 15 - 🍴 104

Fixed

  • When TakePictureContract returns false or null return null result. #287 Thanks @ArmChilingarov

Added

  • Added provision to add Oval crop corners when the crop style is Rectangle #305 Thanks @bhagyae5308
Android-Image-Cropper - 4.0.0

Published by Canato almost 3 years ago

🚀 29 - ⬇️ 61.7k - ⭐ 382 - 🔎 15 - 🍴 89

Attention

This is a huge update of the library, many broken are expect, please update with care.

CHANGELOG

Fixed

  • Issue where some devices based on MIUI would not retrieve image from gallery #253

Changed

  • minSdkVersion = 16, previous versions have been deprecated by Google.

Added

  • Added option to enable users specify image source #226

Removed

  • Pick Image, now the library will handle this without expose the contract #271
  • Need for READ_EXTERNAL_STORAGE permission #271
  • Previous deprecated ActivityBuilder, startPickImageActivity, getActivityResult and onActivityResult #145
  • Removed ProGuard rule from ReadMe #257
  • Removed unused dependencies and settings from Gradle files #265
Android-Image-Cropper - alpha-4.0.0

Published by Canato almost 3 years ago

Please check #275 for more details.
This is a huge update of the library, many broken are expect, please update with care.

This will need heavy test from the community, please use the PR or discussion for it.

implementation 'com.github.CanHub:Android-Image-Cropper:271-read-files-without-permission-38df1455d6-1'

Android-Image-Cropper - 3.3.6

Published by Canato almost 3 years ago

🚀 27 - ⬇️ 65.5k - ⭐ 355 - 🔎 15 - 🍴 82

Added

  • Added PickImageContractOptions to enable users specify image source #226 Thanks @Zikstar
Android-Image-Cropper - 3.3.5

Published by Canato about 3 years ago

Fixed

  • Set output uri ignored #207
Android-Image-Cropper - 3.3.4

Published by Canato about 3 years ago

🚀 25 - ⬇️ 48.2k - ⭐ 282 - 🔎 15 - 🍴 57

Changed

  • Update to Android 12
  • Update library to gradle 7.0.1 and Java 11 #191
  • Any crop action should return uri content #180

Fixed

  • Implement onBackPressed() in sample code for handle backButton pressed #174

Obs

We went to release x.x.4 because of some issues releasing in Jitpack with Java11 and gradle 7.0

Android-Image-Cropper - 3.2.2

Published by Canato about 3 years ago

🚀 24 - ⬇️ 30.0k - ⭐ 255 - 🔎 16 - 🍴 51

Fixed

  • After cropping a camera image, cancelling library picker shows again the last cropped image #162

Thanks @tikitu

Android-Image-Cropper - 3.2.1

Published by Canato over 3 years ago

🚀 23 - ⬇️ 23.8k - ⭐ 227 - 🔎 15 - 🍴 49

Fixed

  • Unable to get camera image from contract #160

Thanks @ondree

Android-Image-Cropper - 3.2.0

Published by Canato over 3 years ago

Great release with the new Activity Contract, thanks for @connyduck and it amazing work!!

🚀 21 - ⬇️ 20.6k - ⭐ 218 - 🔎 15 - 🍴 41

Added

  • CropImageContract and PickImageContract #145
  • added dependency to androidx.activity:activity-ktx:.2.3 #145

Changed

  • CropImageActivity.onActivityResult no longer receives any result. Override onPickImageResult instead. #145

Deprecated

  • deprecated old methods that depend on the deprecated onActivityResult. Use CropImageContract and PickImageContract instead. #145
Android-Image-Cropper - 3.1.3

Published by Canato over 3 years ago

10 / 06 / 21 - 🚀 21 - ⬇️ 16.3k - ⭐ 184 - 🔎 15 - 🍴 35

Fixed

  • ContextWrapper cannot be cast to FragmentActivity #136 Thanks @WMariusz
Android-Image-Cropper - 3.1.2

Published by Canato over 3 years ago

07 / 06 / 21 - 🚀 20 - ⬇️ 14.1k - ⭐ 181 - 🔎 15 - 🍴 33

Fixed

  • Missing file extension under Android 10 #138
  • Crashing when using the code CropImage.activity().start(requireActivity(), this) resolved #133