-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
How does minimumImageSize works? #57
Comments
The documentation of crop_image/lib/src/crop_image.dart Lines 97 to 104 in 534a147
If you only want to constrain the lower end, then the |
I don't think I'm understanding this correctly. How can I ensure the minimum width is constrained to 200 pixels? I've tried setting the minimumImageSize to 200, but it still allows cropping to a smaller width. |
I've just tried it in the example, |
I am trying the aspectRatio of 2/3 with minimumImageSize of 200 but it allows smaller width |
Although it shouldn't depend on anything like this, but what platform do you try it on? This is a recording from the Android emulator in the IDE, width 200, aspect ratio 1.5, and it visibly has a minimum. I also tried to put a few debug readouts in Bother, first it didn't accept it, too large. Then I cut it, wrong format. Then I converted it, it no longer displays here. :-) |
Screen_recording_20241227_222210_edit.mp4 |
I'm trying to crop images with a minimum rectangle size of 200x300 pixels. What should I set as the minimumImageSize to ensure it adheres to these dimensions?
The text was updated successfully, but these errors were encountered: