Get RGB value of a pixel
Posted: 2008-08-10T11:23:48-07:00
Code: Select all
my @pixel = $image_magick->GetPixel(x=>"$i",y=>"$j");
print @pixel,"\n";
I obtain these values... how can i get the rgb values?
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=11842
Code: Select all
my @pixel = $image_magick->GetPixel(x=>"$i",y=>"$j");
print @pixel,"\n";