-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Change Log
Arthur edited this page Feb 13, 2016
·
32 revisions
1.2.1 (beta)
- 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 (beta)
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 andsetShowCropOverlay(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
- 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
- Deprecated
setImageUri(Uri)
. - Added
setImageUriAsync(Uri)
andgetCroppedImageAsync()
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
- Added
setSnapRadius(float)
allowing to disable snap by setting 0. - Nicer rectengular crop border.
- Fix oval shape rendering on old devices by disabling hardware rendering when required.