1
0
Fork 0
mirror of https://github.com/laosb/CropImage.git synced 2025-07-16 07:42:40 +00:00

doc: Update documentation to reflect recent changes.

This commit is contained in:
Shibo Lyu 2023-08-16 16:46:14 +08:00
parent 03549e2fa6
commit fc22f01d78
3 changed files with 2 additions and 2 deletions
Sources/CropImage/Documentation.docc

View file

@ -4,13 +4,13 @@ A simple SwiftUI view where user can move and resize an image to a pre-defined s
Supports iOS 14.0 and above, or macOS Ventura 13.0 and above.
## Overview
- Supports both iOS and macOS
- Use `ImageRenderer` to render the cropped image, when possible
- Very lightweight
- (Optionally) bring your own crop UI
Configure and present ``CropImageView`` to the user, optionally specifying a ``CropImageView/ControlClosure`` to use your own UI controls to transform the image in the canvas, and cancel or finish the crop process, and receive cropped image from ``CropImageView/onCrop``.
![Preview on macOS](macos)
## Topics

Binary file not shown.

Before

(image error) Size: 111 KiB

After

(image error) Size: 95 KiB

Before After
Before After

Binary file not shown.

Before

(image error) Size: 114 KiB

After

(image error) Size: 97 KiB

Before After
Before After