Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
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
As said, these are B/W images, so the "fuzz" parameter is quite useless (pixel values are 0 or 255).
Here 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).
Please supply your IM version and platform when asking questions. Please post an example actual image so others can test. You can post to some free hosting service such as dropbox.com and put the URL here.
About the IM version I will have to wait this evening to update the message.
About the "actual image", the two images are actual input/output of the command I wrote. There are no contents in the panels, but if a script works on the posted image it is enough for me. Also, since the panels content may vary, I think that empty panels are the "worst case" regarding border trimming.
@snibgo, I'll give it a try. I think I can do quite a hard median without screwing the results, given the images I'm working on.
I also thought about trimming (or medianing, given your hint) all images than crop with a median (arithmetical) of the results.