in reply to Re: Extracting pixel values
in thread Extracting pixel values

In GD - Is there a way to *retrieve* the alpha value of a pixel? I can do $i = $img->getPixel($x,$y); and use rgb() to get its rgb value, and the perldoc says something about hexadecimal strings carrying it. But I can't see a way to extract the hex-string. Everything seems to be concentrated on drawing, rather than extracting values from pictures.

Replies are listed 'Best First'.
Re^3: Extracting pixel values
by Anonymous Monk on May 19, 2013 at 20:18 UTC