Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Rectangle (4:3) for cropping #17

Merged
merged 3 commits into from
Aug 16, 2024
Merged

Conversation

Festanny
Copy link
Contributor

Added a new Rectangle shape with a resolution of 4:3

Added a new Rectangle shape with a resolution of 4:3
Sources/SwiftyCrop/Models/CropViewModel.swift Outdated Show resolved Hide resolved
Sources/SwiftyCrop/View/CropView.swift Outdated Show resolved Hide resolved
@benedom benedom added the enhancement New feature or request label Aug 14, 2024
@benedom benedom linked an issue Aug 14, 2024 that may be closed by this pull request
@benedom
Copy link
Owner

benedom commented Aug 15, 2024

@Festanny I reworked the cropping functionality for rectangles, adding a more robust way and also making the aspect ratio configurable. Please review and test if this matches your requirements ☺️

@benedom benedom linked an issue Aug 15, 2024 that may be closed by this pull request
@benedom benedom self-assigned this Aug 15, 2024
@Festanny
Copy link
Contributor Author

Yes, it fits, everything is cool!

@benedom benedom merged commit f3189b7 into benedom:master Aug 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configurable Rectangle Shape Rectangle MaskShape
2 participants