Help for this page
use Image::Magick; ... $count++ if $image->Get("pixel[$x,$y]") != $transparent; } }