I need to trim the white border from some grayscale (actually B/W) images. These are scans of paper pages (comix strips), and there are some noisy pixels that prevent a good trim with this "standard" ImageMagick command
Code: Select all
convert input -bordercolor white -border 1x1 -fuzz 50% -trim +repage outputHere is an example of input and trimmed image. Due to some noise on the border (need to zoom to view it) the trim algorithm fails (better, didn't meet my needs).
INPUT

OUTPUT

Any idea about how to trim the full border?
Thanks!
MIX