Skip to content

Take the background color from the input image #39

@galfar

Description

@galfar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions