Skip to content

Tags: rroohit/ImageCropView

Tags

v4.0.0

Toggle v4.0.0's commit message
Add fixed aspect-ratio cropping support and update dependencies

- Introduced new `CropType` options for fixed aspect ratios: `RATIO_3_2`, `RATIO_4_3`, `RATIO_16_9`, and `RATIO_9_16`.
- Implemented aspect-ratio constraint logic in `CropUtil.kt`, including coordinate calculations for centering and resizing the crop rectangle while preserving ratios.
- Updated `onCrop` logic to correctly scale the output bitmap for fixed aspect-ratio types, preventing image distortion.
- Refactored `MainActivity.kt` to use a `LazyRow` for crop type selection and added icons for the new aspect ratio options.
- Upgraded `compileSdk` to 36 and updated various AndroidX and Compose dependencies to latest versions (e.g., Compose UI to 1.10.4, Material3 to 1.4.0).
- Updated library coordinates to `io.github.rroohit:ImageCropView` and bumped version to 4.0.0.
- Enhanced `README.md` with documentation for the new aspect ratio cropping features.

v3.0.0

Toggle v3.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update README.md

v2.3.0

Toggle v2.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update README.md

2.2.0

Toggle 2.2.0's commit message
document update

v2.1.0

Toggle v2.1.0's commit message
Merge remote-tracking branch 'origin/master'

# Conflicts:
#	.idea/workspace.xml

1.0.0

Toggle 1.0.0's commit message
Image-Crop-View