Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 months ago
JSON representation

A simple SwiftUI view where user can move and resize an image to a pre-defined size.

Awesome Lists containing this project

README

        

# CropImage

[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Flaosb%2FCropImage%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/laosb/CropImage)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Flaosb%2FCropImage%2Fbadge%3Ftype%3Dswift-versions)](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.


Preview on macOS

## License

[MIT](./LICENSE)