-
-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Request came in to extend "-b" background color parameter to take it's value from the input image (edge/corner).
https://galfar.vevb.net/wp/projects/deskew/comment-page-2/#comment-184847
One request if at all possible is can there be an option for -b that auto samples the rgb value of an edge. I currently run an auto-crop script after they are deskewed and some pages have a different background color. This sometimes trips up the auto crop into thinking the added background is an edge. I’m hoping for something a little more dynamic that allows me to use the tool without sorting the material first.
Hi, you mean something like “look at pixel [0,0] of input image and use it for output background”?
Yes. “look at pixel [0,0] of input image and use it for output background” would be a great additional feature.