laosb / CropImage

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

Home Page:https://swiftpackageindex.com/laosb/CropImage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. Be sure to choose the correct version.

Preview on macOS

License

MIT

About

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

https://swiftpackageindex.com/laosb/CropImage

License:MIT License


Languages

Language:Swift 100.0%