in reply to Need module for retrieving pixels from GIF format image...

There are many image processing modules - the three major ones are Image::Magick, Imager and GD - any one of the three should do what you want. None of the three are convenient to build, as all three rely on lots and lots of external libraries to do the heavy lifting.

  • Comment on Re: Need module for retrieving pixels from GIF format image...

Replies are listed 'Best First'.
Re^2: Need module for retrieving pixels from GIF format image...
by Cody Pendant (Prior) on Mar 22, 2006 at 08:04 UTC
    You can definitely do it with ImageMagick/PerlMagick, I've done it myself ages ago -- with a function called getPixel(x,y) which returns an RGB value, if I remember correctly.


    ($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
    =~y~b-v~a-z~s; print
Re^2: Need module for retrieving pixels from GIF format image...
by gawatkins (Monsignor) on Mar 22, 2006 at 13:53 UTC

    I have used GD quite extensively on solutions for the http://www.pythonchallenge.com/ puzzles. It allows for you to getPixel($x,$y) and setPixel($x,$y,$color) if needed. The only drawback is that I have even had difficulty installing this module from the PPM on win32. I never seems to have the same issue twice.

    Thank you,
    Greg W