https://github.com/laosb/cropimage
A simple SwiftUI view where user can move and resize an image to a pre-defined size.
https://github.com/laosb/cropimage
ios macos swiftui
Last synced: about 1 year ago
JSON representation
A simple SwiftUI view where user can move and resize an image to a pre-defined size.
- Host: GitHub
- URL: https://github.com/laosb/cropimage
- Owner: laosb
- License: mit
- Created: 2023-07-21T10:52:40.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-24T06:18:09.000Z (over 1 year ago)
- Last Synced: 2025-04-23T11:57:24.556Z (about 1 year ago)
- Topics: ios, macos, swiftui
- Language: Swift
- Homepage: https://swiftpackageindex.com/laosb/CropImage
- Size: 591 KB
- Stars: 15
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CropImage
[](https://swiftpackageindex.com/laosb/CropImage)
[](https://swiftpackageindex.com/laosb/CropImage)
A simple SwiftUI view where user can move and resize an image to a pre-defined size.
Supports iOS 14.0 and above, visionOS 1.0 and above or macOS Ventura 13.0 and above.
- Supports iOS, visionOS and macOS
- Use `ImageRenderer` to render the cropped image, when possible
- Very lightweight
- (Optionally) bring your own crop UI
Full documentation is available on [Swift Package Index](https://swiftpackageindex.com/laosb/CropImage/main/documentation/cropimage). Be sure to choose the correct version.

## License
[MIT](./LICENSE)