We develop lots of different Android apps at Yalantis, and our experience shows that almost every application we deal with needs image cropping functionality. Image cropping can be used for various purposes, from ordinary adjustment of user profile images to more complex features that involve aspect ratio cropping and flexible image transformations. Since we want to provide all our customers with the best set of tools for image editing functionality, we decided to create uCrop, an image cropping library for Android. You might be wondering why we couldn’t just use one of the existing solutions for image cropping for Android. After all, you can find lots of them on Github and on the Android Arsenal. But here is the thing, none of these solutions could satisfy our requirements. Let’s take a quick look at the most popular open-source image cropping libraries and explain why they don’t quite fit the bill.
Features
- You can scale images
- You can rotate images
- Changing crop aspect ratio feature
- Supporting touch gestures, scroll (pan) image with one finger, rotate image with two fingers, pinch to zoom, double tap to zoom
- Out-of-the-box Activity with functional design, neat widgets for more precise image rotation and scaling
- Provides a set of pre-defined common aspect ratios