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

Specify content rectangle using margins #31

Open
galfar opened this issue Jun 16, 2020 · 1 comment
Open

Specify content rectangle using margins #31

galfar opened this issue Jun 16, 2020 · 1 comment
Labels
DeskewCmdLine enhancement New feature or request
Milestone

Comments

@galfar
Copy link
Owner

galfar commented Jun 16, 2020

Right now you use "-r 100,200,600,700" to explicitly specify the content rectangle in pixels
but useful can be also to specify it using margins e.g. take 20% left and 10% top off - especially when
batch processing similar class of images but differing in sizes pixels.

Best would still be to select the rect visually :)

@galfar galfar added enhancement New feature or request DeskewCmdLine labels Jun 16, 2020
@galfar
Copy link
Owner Author

galfar commented Sep 3, 2021

Also useful would be to specify it physical units i.e. cm/mm and inches since it's closer to the initial source -> the paper. Question is, what to do when physical resolution is not present in the input image. Probably report it and fail to be on the safe side.

@galfar galfar added this to the rls-v1.35 milestone Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DeskewCmdLine enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant