A simple SwiftUI view where user can move and resize an image to a pre-defined size.
Find a file
2024-03-28 15:25:13 +08:00
.swiftpm/xcode/package.xcworkspace/xcshareddata Initial Commit 2023-07-21 13:20:31 +08:00
Sources/CropImage add visionos support 2024-03-28 15:25:13 +08:00
.gitignore Initial Commit 2023-07-21 13:20:31 +08:00
.spi.yml docs: Update README. 2023-07-24 11:50:05 +08:00
LICENSE Create LICENSE 2023-07-24 11:51:16 +08:00
Package.swift add visionos support 2024-03-28 15:25:13 +08:00
README.md doc: Mention DocC doc in README. 2023-08-16 17:03:44 +08:00

CropImage

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

Supports iOS 14.0 and above, or macOS Ventura 13.0 and above.

  • Supports both iOS 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