-
Notifications
You must be signed in to change notification settings - Fork 84
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
Total width and height #29
Comments
Hi @michaldev, You can set the aspect ratio to 1 (800 / 800 = 1) and then resize the output image to 800x800. Here is a good package for image resizing: https://pub.dev/packages/image |
No, I can't because If Image is 400x200 (expected 800x800) I would like set where the image in image should be, and user should choose - image resize, movement or resize and movement. |
If the input aspect ratio is not equal to the desired output aspect ratio, it's user's job to choose where in the image to be selected. |
Did you try |
Yes. Image always return to center. Independent from fit parameter. |
How about putting the |
I’ve used your example. |
Please try |
I've used that, but without effect. Code:
|
I close this issue for #27. Please feel free to continue this discussion there. |
Hi. Can I set the total output width and height of my Image?
I would like to get Image (example) in 800x800 size independent from the image inside.
Too if the image inside is smaller than 800x800.
The text was updated successfully, but these errors were encountered: