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

Add padding option #110

Open
masus04 opened this issue Jun 30, 2023 · 2 comments
Open

Add padding option #110

masus04 opened this issue Jun 30, 2023 · 2 comments
Assignees
Labels
Idea Ideas for a new feature

Comments

@masus04
Copy link

masus04 commented Jun 30, 2023

Sometimes, an application requires images to be cropped in a certain form, let's say a square. If the source image is very different to that form, let's say a 16:9 aspect ratio image, a user may want to crop out instead of in, filling the empty space with some background instead of removing more of their image.

I propose an option in the Crop widget / CropController that enables zooming out of the image or moving the borders of the crop area outside of the image.
The padding color should also be configurable using the Crop widget / CropController.

@masus04
Copy link
Author

masus04 commented Jun 30, 2023

An example use case for this is creating an avatar image.

@chooyan-eng
Copy link
Owner

@masus04 Thank you for your proposal. I understand what you are trying to achieve, but honestly speaking, I do not have any idea how I can develop the feature right now. Let me take a time to think about it.

@chooyan-eng chooyan-eng added the Idea Ideas for a new feature label Feb 8, 2024
@chooyan-eng chooyan-eng self-assigned this Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea Ideas for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants