{"repo":"rroohit/ImageCropView","free":true,"listed":false,"github":"https://github.com/rroohit/ImageCropView","clone":"git clone https://github.com/rroohit/ImageCropView.git","description":"Jetpack-Compose Image Crop View library.","language":"Kotlin","stars":142,"topics":["android-library","imagecropper","jetpack-compose","jetpack-compose-library","kotlin-android","kotlin-library"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Jetpack Compose ImageCropView ImageCropView is a Jetpack Compose library that provides a simple and customizable image cropping view for Android applications. It supports various cropping styles such as free-form, square, circular, and fixed aspect-ratio cropping (3:2, 4:3, 16:9, 9:16), pinch-to-zoom, and crop state that survives device rotation — making it easy to integrate image cropping into your Compose UI. https://github.com/user-attachments/assets/0feb8c47-e96c-455a-877a-ffa82378630a Features - 🎯 Multiple crop types — free-style, square, circular profile, and fixed aspect ratios (3:2, 4:3, 16:9, 9:16). - 🔍 Zoom & pan — optional pinch-to-zoom and double-tap zoom on the source image. - 🔄 Rotation-safe state — the crop rectangle, zoom, and pan survive device rotation and other configuration changes. - 🎨 Customizable overlay — guide-line color/width, rule-of-thirds grid, and circular or square corner handles. - 🖼️ Flexible output — crop the canvas-scaled image or the original full-resolution bitmap. Setup Add this dependency to your module-level build.gradle in the dependencies section: Requirements: minSdk 24 , Jetpack Compose. Quick Start 1. Obtain an ImageCrop state holder from one of the factory composables. 2. Render the ImageCropView composable, passing the state holder in. 3. Call onCrop() on the state holder to get the cropped Bitmap . Note: In 4.1.0 the entry point changed from a method ( imageCrop.ImageCropView(...) ) to a top-level composable ImageCropView(i","default_branch":null,"files":null,"tree":[],"storefront":"/r/rroohit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rroohit/ImageCropView/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}