-
Notifications
You must be signed in to change notification settings - Fork 138
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
Question: Crop with fill #20
Comments
Hello, @scheMeZa. Currently this cropper doesn't support it, but I will consider the possibility of implementing this feature. |
Thanks for your hasty reply :) It's a feature I'd love to see. Thank you for your work on this package; It's currently in use in production on https://onebid.co.za |
It's great! I'm always glad to hear about using this library in production. |
Hello, @scheMeZa! Could you illustrate the situation, where this feature might be useful? |
I'm using this lib to crop logo which will be uploaded to my Apple Wallet generator. Problem is that inside Wallet app logo is covering whole space by default, even if there is something on the right side - it overlapping it. So I need to zoom it out a little bit and add transparent space on the right in Photoshop to make it to work. Vue CropperJS has ability to zoom out and add some space around. |
@NikitaKA, thank you for your example. |
@scheMeZa , @NikitaKA , I'm happy to report that this feature is in the alpha stage. You currently can test it in the documentation (different image restrictions section). |
I suppose within a week. It should be tested more carefully. |
I close this issue. If you encounter any problems, please create the corresponding issue. |
Hello,
Let's say I have an image 320x500.
I'd like to allow a crop with aspect ratio 1:1 - so that the picture when done cropping is always square.
But I'd like to allow the crop to go all the way to 500x500; so that the crop is bigger than the image, and then the background to be filled with white.
Is there a solution for this?
The text was updated successfully, but these errors were encountered: