Hello guys,
i'm a german imagemagick newbie and google got me no answer to my problem...
I want to scan a signature on a white paper-sheet an select just the handwritten part, the whitespace around that sig has to be deletet.
Is that possible, and if yes - how???
Thanks a lot
Delete whitespace in scanned document
-
- Posts: 1
- Joined: 2018-11-26T00:32:12-07:00
- Authentication code: 1152
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Delete whitespace in scanned document
Please say what version of IM you use, on what platform. A sample input image would help us understand what you want.
Perhaps "-trim" does what you want, perhaps "-fuzz N% -trim".
Perhaps "-trim" does what you want, perhaps "-fuzz N% -trim".
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Delete whitespace in scanned document
I suspect you just want to turn the white into transparency.
Code: Select all
convert image -fuzz XX% -transparent white output.png