Yalantis/uCrop ? reverse-engineered prompt

Reverse engineered prompt

Build me an Android image cropping library like uCrop that I can drop into an app and use to let users pick a photo, move and zoom it around, rotate it, and crop it to a chosen shape or aspect ratio.

I want a simple API where I can pass in a source image and an output Uri, then launch a crop screen and get back the cropped result or an error. Please include a clean default UI with a toolbar, crop frame, guidelines, and support for rectangular or oval crop areas. It should handle high resolution images well, preserve image orientation and EXIF data, and work smoothly on modern Android.

Also include a small sample app that shows how to start the crop flow from an activity result callback, plus basic customization for colors, compression format, quality, and output size. If you need anything unclear, look up the current Android docs online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab