deskew icon indicating copy to clipboard operation
deskew copied to clipboard

Specify content rectangle using margins

Open galfar opened this issue 4 years ago • 1 comments

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 avatar Jun 16 '20 15:06 galfar

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 avatar Sep 03 '21 15:09 galfar