On Mon, 18 Apr 2011 14:15:45 +0200 magick-users-boun...@imagemagick.org wrote: | | I have a set of images using up to four different colors | contrastively in addition to a white/transparent background | and some black areas/text, and need to convert these to b/w | versions with each color replaced by a hatch/dot pattern, | and preferably with each hatched area outlined with a thin | black border. I know how to replace a color by another color | from the command line but not how to replace a color with a | pattern. However I'm totally at a loss on how to achieve a | black outline around a colored area. Additionally I'd like | to do this in a perl script. | Sorry for a black outline, run the image thru edge.
convert areas.gif -edge 1 -threshold 20% -negate cracks.gif Anthony Thyssen ( System Programmer ) <a.thys...@griffith.edu.au> -------------------------------------------------------------------------- " I think we should put some mountains here. Otherwise, what are the characters going to fall off of? " -- Laurie Anderson -------------------------------------------------------------------------- Anthony's Castle http://www.ict.griffith.edu.au/anthony/ _______________________________________________ Magick-users mailing list Magick-users@imagemagick.org http://studio.imagemagick.org/mailman/listinfo/magick-users