diff --git a/CHANGELOG.md b/CHANGELOG.md index 66e20fe..9ed6d9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ Change Log ========= +## Version 1.1.0 +* Support large size image(load/crop) +* Improve rotation algorithm +* Drop support for SDK level 9 +* Add CropMode 'CIRCLE_SQUARE' +* Remove getRectBitmap() (Use 'CIRCLE_SQUARE' mode instead) +* Shorten CropMode name(ex. RATIO_FIT_IMAGE -> FIT_IMAGE) +* Add prefix to attrs(ex. cropMode -> scv_crop_mode) +* Add animation +* Support maximum output size +* Support fixed output size(width/height) +* Add debug display + ## Version 1.0.16 * Fixed bug x + width must be <= bitmap.width() (#40) diff --git a/README.md b/README.md index 1135946..0dcb4a8 100644 --- a/README.md +++ b/README.md @@ -7,28 +7,37 @@ The SimpleCropView is an image cropping library for Android.
It simplifies your code for cropping image and provides an easily customizable UI.

-Supported on API Level 9 and above. +Supported on API Level 10 and above. -![demo](https://raw.github.com/wiki/IsseiAoki/SimpleCropView/images/gif/demo_basic_usage.gif) +![demo](https://raw.github.com/wiki/IsseiAoki/SimpleCropView/images/1.1.0/demo_basic_usage.gif) ##Table of Contents * [Download](#download) -* [Image Cropping](#image-cropping) -* [Image Rotation](#image-rotation) +* [Example](#example) + * [Image Cropping](#image-cropping) + * [Image Rotation](#image-rotation) +* [Load Image](#load-image) +* [Crop and Save Image](#crop-and-save-image) + * [Compress Format](#compress-format) + * [Compress Quality](#compress-quality) * [Customization](#customization) + * [Maximum Output Size](#maximum-output-size) + * [Fixed Output Size](#fixed-output-size) * [CropMode](#cropmode) - * [Circle Crop](#circle-crop) * [MinimumFrameSize](#minimumframesize) * [InitialFrameScale](#initialframescale) * [Color](#color) * [Stroke Weight and Handle Size](#stroke-weight-and-handle-size) * [Handle Touch Padding](#handle-touch-padding) * [Handle and Guide ShowMode](#handle-and-guide-showmode) + * [Animation](#animation) * [Picasso and Glide Compatibility](#picasso-glide-compatibility) +* [Debug](#debug) * [XML Attributes](#xml-attributes) -* [Developed By](#developed-by) +* [Developed By](#developed-by) +* [Users](#users) * [License](#license) ##Download @@ -39,96 +48,157 @@ repositories { jcenter() } dependencies { - compile 'com.isseiaoki:simplecropview:1.0.16' + compile 'com.isseiaoki:simplecropview:1.1.0' } ``` -##Image Cropping +##Example + +###Image Cropping + +Add permission in `AndroidManifest.xml` file. + +```xml + + +``` Add the `com.isseiaoki.simplecropview.CropImageView` to your layout XML file. >**NOTE:** The image is scaled to fit the size of the view by maintaining the aspect ratio. `WRAP_CONTENT` will be ignored. -```xml - - - - -