Skip to content

Releases: ArthurHub/Android-Image-Cropper

1.2.5

09 Apr 08:09
Compare
Choose a tag to compare
  • Fix off-by-1 error in cropping rectangle, double verify width == height for 1:1 fixed aspect ratio.

1.2.4

07 Apr 11:08
Compare
Choose a tag to compare
  • add fallback in crop to use BitmapFactory when BitmapRegionDecoder fails

1.2.3

22 Mar 15:36
Compare
Choose a tag to compare
  • Fix getActualCropRect to adjust by sampling size for images loaded from URI.
  • Fix crop window size bounded with fixed aspect ratio and move of a single edge.
  • Added CropImageHelper class to simplify cropping image work.

1.2.2

19 Feb 14:58
Compare
Choose a tag to compare
1.2.2 Pre-release
Pre-release

1.2.2 (beta)

  • Fix setShowCropOverlay(boolean) not working properly.
  • Fix crop window bounds issue when cropping image is too small relative to min/max bounds with fixed aspect ratio.
  • Fix crop window reset on on-screen keyboard show/hide.

1.2.1

13 Feb 09:48
Compare
Choose a tag to compare
1.2.1 Pre-release
Pre-release
  • Fix crop window resize bug with fixed aspect ratio
  • Add getRotatedDegrees() to get how much the image was rotated during cropping
  • Add setCropRect(Rect) to set initial cropping window location and size to specific window on the image.

1.2.0

01 Feb 07:46
Compare
Choose a tag to compare
1.2.0 Pre-release
Pre-release

Due too large changes in the internals please consider this a beta release, if you use it be sure to test is thoroughly and report any bugs you find (report no bugs will also be awesome) or use 1.1.0 until I feel 1.2.* is stable enough.

  • Rewrite internal crop window handling.
  • Add crop prefix to all customization resources to prevent naming collision (breaking change).
  • Add CropImageView.Guidelines enum of guidelines config instead of integer (breaking change).
  • Change custom attributes types to dimension where appropriate (breaking change).
  • Add showCropOverlay attribute and setShowCropOverlay(boolean) method allowing to hide/show crop overlay UI for animation or element transition.
  • Add cropInitialCropWindowPaddingRatio customization [0 - 0.5) to control initial crop window padding from image borders relative to image size.
  • Add min limit config on cropping window width/height in the UI (cropMinCropWindowWidth, cropMinCropWindowHeight)
    Add min/max config on cropping image result width/height (cropMinCropResultWidthPX,cropMinCropResultHeightPX,cropMaxCropResultWidthPX,cropMaxCropResultHeightPX)

1.1.1

22 Jan 08:13
Compare
Choose a tag to compare
  • Add customization support for border line, border corner, guidelines and background.
  • Fix progress bar not showing on loading if previously bitmap was directly set.

1.1.0

26 Dec 15:18
Compare
Choose a tag to compare
  • Deprecated setImageUri(Uri).
  • Added setImageUriAsync(Uri) and getCroppedImageAsync() for better handling of slow image loading/decode/cropping.
  • Fixed Save/Restore state handling, proper orientation change expirience.
  • Bug fixes on rotation and bitmap recycled error.

1.0.7

18 Dec 17:03
Compare
Choose a tag to compare
  • fix oval crop shape UI for old API versions
  • control snap radius
  • nicer crop border

1.0.6

14 Dec 14:25
Compare
Choose a tag to compare
refactor CropShape back to be inner class of CropImageView not to bre…