Re: Getting the Color of a specific pixel
Posted: 2007-11-19T19:10:20-07:00
see my magicwand script at http://www.fmwconcepts.com/imagemagick/index.html
The basic command is:
# make interior transparent and outside black
convert $infile -fuzz $threshold% -fill none -draw "matte $coords floodfill" \
-fill black -colorize 100% $outfile
$threshold% is typically 10%
$coords are your coordinates in pixels, e.g. coords="0,0"
The basic command is:
# make interior transparent and outside black
convert $infile -fuzz $threshold% -fill none -draw "matte $coords floodfill" \
-fill black -colorize 100% $outfile
$threshold% is typically 10%
$coords are your coordinates in pixels, e.g. coords="0,0"