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

Invoke cropping code without showing any UI #137

Closed
rudsberg opened this issue Jul 5, 2021 · 0 comments
Closed

Invoke cropping code without showing any UI #137

rudsberg opened this issue Jul 5, 2021 · 0 comments

Comments

@rudsberg
Copy link

rudsberg commented Jul 5, 2021

I am showing a grid of images, which when tapped opens the PhotosCropViewController that lets the user crop the image using a given pixel aspect ratio. I want the images in my grid to be pre-cropped, so the preview image in the grid is exactly the same as the one shown when opening PhotosCropViewController before performing any editing. Is there any function I can use from the library to edit my UIImages to do this?

Thanks. Loving the library.

@rudsberg rudsberg closed this as completed Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant