in reply to Re: Getting pixel colours with Image::Magick
in thread Getting pixel colours with Image::Magick

Maybe you can suggest an alternative approach that you used successfully?

Personally, I find Imager to work quite well. See Imager::Draw and Imager::Color:

my @colors = $img->getpixel(x => 0, y => [ 0 .. 3 ], type => '8bit +'); # ... $img->setpixel(x=>50, y=>70, color=>[ 255, 0, 255 ]);

Replies are listed 'Best First'.
Re^3: Getting pixel colours with Image::Magick
by Your Mother (Archbishop) on Aug 11, 2019 at 15:36 UTC

    The fork GraphicsMagick is supposed to be a safer, better version of ImageMagick. I expect the API and lack of docs will be similar though. I suppose a loose analogy would be GraphicsMagick is to ImageMagick as MariaDB is to MySQL.

Re^3: Getting pixel colours with Image::Magick
by LanX (Saint) on Aug 11, 2019 at 09:20 UTC
    I was addressing the question why it's sparsely documented.

    Simple things work considerably well, but care should be taken.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice