Native image crop (able to crop high-resolution images, e.g. 16MP & 32MP images on Nexus 5X).
WebP compression format is not supported at the moment (choose JPEG or PNG).
Now library copies EXIF data to cropped image (size and orientation are updated).
Version: 1.5
Introduced "Freestyle" crop (you can resize crop rectangle by dragging it corners) #32
Now image & crop view paddings are not associated #68
Updated API
Version: 1.4
Introduced HTTP(s) Uri support!
Image is cropped in a background thread.
Showing loader while Bitmap is processed (both loading and cropping).
Several bug fixes.
Couple new things to configure.
Updated minSdkVersion to Android ICS 4.0 (no reason to support couple percents of old phones).
Version: 1.3
Image is loaded in a background thread. Better error-handling for image decoding.
Improved EXIF data support (rotation and mirror).
Small UI updates.
Couple new things to configure.
Sample updated with the possibility to choose custom aspect ratio.
Version: 1.2
Updated core logic so an image corrects its position smoothly and obviously.
Version: 1.1
UCrop builder was updated and now UCrop.Options class has even more values to setup.
Version: 1.0
Initial Build
Let us know!
We’d be really happy if you sent us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding the library.
Copyright 2017, Yalantis
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
请发表评论