# arthurhub/android-image-cropper

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/arthurhub-android-image-cropper).**

6,418 stars · 1,368 forks · Java · Apache-2.0

## Links

- GitHub: https://github.com/ArthurHub/Android-Image-Cropper
- awesome-repositories: https://awesome-repositories.com/repository/arthurhub-android-image-cropper.md

## Topics

`android` `android-image-cropper` `cropper`

## Description

Android-Image-Cropper is an image cropping library for Android applications designed to trim and resize photos sourced from cameras or galleries. It functions as a bitmap manipulation tool capable of rotating, flipping, and scaling images to achieve specific dimensions.

The library features an aspect ratio constrained cropper that limits the cropping window to fixed shapes or ratios to ensure consistent image output. It handles orientation adjustments by reading embedded metadata to automatically rotate or flip images during the cropping process.

The toolkit covers a broad range of image processing capabilities, including regional size constraints, output scaling to specific resolutions, and the extraction of sub-regions from bitmaps or external URIs. It integrates with standard mobile photo workflows to facilitate the trimming of media captured via the camera or selected from a device gallery.

## Tags

### Mobile Development

- [Image Cropping](https://awesome-repositories.com/f/mobile-development/android-image-interaction/image-cropping.md) — Provides an Android-specific library for extracting rectangular regions from images for precise framing.
- [Android Gallery Selection](https://awesome-repositories.com/f/mobile-development/android-gallery-selection.md) — Provides logic to trigger the system gallery for selecting local image files to be cropped.
- [Camera Integrations](https://awesome-repositories.com/f/mobile-development/camera-integrations.md) — Integrates with device camera hardware to capture, trim, and orient photos.

### Part of an Awesome List

- [Rectangular Region Extraction](https://awesome-repositories.com/f/awesome-lists/media/pixel-level-image-manipulation/regional-image-processing/rectangular-region-extraction.md) — Extracts specific rectangular sub-sections of a bitmap image using calculated pixel offsets and dimensions.
- [Image Display and Processing](https://awesome-repositories.com/f/awesome-lists/devtools/image-display-and-processing.md) — Image cropping library for Android.

### Graphics & Multimedia

- [Bitmap Transformation Tools](https://awesome-repositories.com/f/graphics-multimedia/image-editing-processing/image-editors/bitmap-transformation-tools.md) — Provides programmatic utilities for rotating, flipping, and scaling bitmap assets before rendering.
- [Image Cropping Tools](https://awesome-repositories.com/f/graphics-multimedia/image-editing-processing/image-editors/image-cropping-tools.md) — Enforces aspect ratios and provides tools for manual cropping of images. ([source](https://github.com/arthurhub/android-image-cropper#readme))
- [Orientation Correction Utilities](https://awesome-repositories.com/f/graphics-multimedia/image-editing-processing/image-processing/orientation-correction-utilities.md) — Automatically fixes image rotation and flipping by interpreting embedded EXIF metadata tags.
- [Image Orientation Manipulators](https://awesome-repositories.com/f/graphics-multimedia/image-orientation-manipulators.md) — Adjusts the visual orientation of images through rotation and mirroring operations during the cropping process. ([source](https://github.com/arthurhub/android-image-cropper#readme))
- [Media Aspect Ratio Croppers](https://awesome-repositories.com/f/graphics-multimedia/media-aspect-ratio-croppers.md) — Provides a specialized tool for trimming images to specific aspect ratios to ensure consistent output dimensions.
- [Media Photo Trimming](https://awesome-repositories.com/f/graphics-multimedia/media-photo-trimming.md) — Supports cutting photos captured via a camera or selected from a gallery to a specific area or aspect ratio. ([source](https://github.com/arthurhub/android-image-cropper#readme))
- [Image Downsampling](https://awesome-repositories.com/f/graphics-multimedia/image-downsampling.md) — Reduces the resolution of the final cropped image to optimize memory usage and file size.
- [Post-Crop Scaling](https://awesome-repositories.com/f/graphics-multimedia/image-editing-processing/image-editors/image-cropping-tools/post-crop-scaling.md) — Allows resizing the resulting image to a specific resolution or dimension after the cropping process. ([source](https://github.com/arthurhub/android-image-cropper#readme))

### User Interface & Experience

- [Photo Framing Interfaces](https://awesome-repositories.com/f/user-interface-experience/photo-framing-interfaces.md) — Provides a user interface for rotating and framing images to extract a precise region of a photo.
- [View-to-Image Coordinate Mapping](https://awesome-repositories.com/f/user-interface-experience/view-to-image-coordinate-mapping.md) — Translates interactive screen touch coordinates into raw image pixel coordinates for precise cropping.
