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

Added --croppingminimum option to set a cropping minimum area ratio #343

Merged
merged 1 commit into from
Jan 21, 2023

Conversation

fbriere
Copy link
Contributor

@fbriere fbriere commented Feb 29, 2020

Closes #342

@fbriere
Copy link
Contributor Author

fbriere commented Feb 29, 2020

I defined the command-line argument as a simple ratio (up to 1.0), but maybe a percentage (up to 100.0) would have been more intuitive? Feedback welcome.

@clach04
Copy link
Contributor

clach04 commented May 17, 2020

cropping power appears to have same scale so seems reasonable to me 👍

@fbriere
Copy link
Contributor Author

fbriere commented May 27, 2020

It just struck me that there's no need to actually choose between the two: both could be supported at the same time, allowing for either 0.85 or 85 as an example. (In the unlikely situation where you want a minimum of 1% or less, then you would be required to use a ratio as originally planned.)

@darodi darodi merged commit 16e275b into ciromattia:master Jan 21, 2023
@darodi
Copy link
Collaborator

darodi commented Jan 21, 2023

@fbriere
thanks
merged in v5.6.1

@fbriere fbriere deleted the cropping-minimum-ratio branch January 23, 2023 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to disable cropping for pages with small contents
3 participants