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

Crop to content #1066

Closed
Raffael7777 opened this issue May 9, 2024 · 3 comments
Closed

Crop to content #1066

Raffael7777 opened this issue May 9, 2024 · 3 comments
Labels
enhancement New feature or request in progress

Comments

@Raffael7777
Copy link

Raffael7777 commented May 9, 2024

Is your feature request related to a problem? Please describe.
Many images often have large boundary areas, either filled with a solid color (usually white or black), or with transparency. Some people might consider them unsightly, unnecessary, or cause filesize bloat. Some apps do not let users zoom in on images posted, so removing unnecessary boundaries can also present these images better in those situations.

Describe the solution you'd like
A "crop to content" feature. The default boundary to ignore should probably be transparent edges, cropping automatically to the nearest non-transparent pixel from each edge. An option to select a background color to ignore by tapping on that color in the image would make this feature especially robust and useful. In that case it would crop to the nearest pixel from each edge that is not that color.

Describe alternatives you've considered
In searching for other apps that might do this, I found too many results for "background removal" to sort through, and this is not background removal. Most PC images editing software like PS, Gimp, etc offer this, but when away from your PC having the option in a mobile app would be useful.

@Raffael7777 Raffael7777 added the enhancement New feature or request label May 9, 2024
@T8RIN
Copy link
Owner

T8RIN commented May 10, 2024

Sounds like a possible option, should this be able to crop black frames from images, yes?

@T8RIN
Copy link
Owner

T8RIN commented May 21, 2024

Almost added

T8RIN added a commit that referenced this issue May 21, 2024
@T8RIN
Copy link
Owner

T8RIN commented May 21, 2024

Added this as a filter

@T8RIN T8RIN closed this as completed May 21, 2024
T8RIN added a commit that referenced this issue May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress
Projects
None yet
Development

No branches or pull requests

2 participants