I'm using PHP4.2.2 with gd on a Linux platform and am having difficulty
in solving a little problem despite going through the definitions of the
various image functions.
If you load a true-colour image from a file using...
$image=imagecre atefrompng("fil e.png");
....how do you then get the red, green and blue values of a pixel at $x,
$y within that image? I'm sure it's fairly simple but I can't find this
from what I've read so far.
Can anyone give me any pointers?
in solving a little problem despite going through the definitions of the
various image functions.
If you load a true-colour image from a file using...
$image=imagecre atefrompng("fil e.png");
....how do you then get the red, green and blue values of a pixel at $x,
$y within that image? I'm sure it's fairly simple but I can't find this
from what I've read so far.
Can anyone give me any pointers?
Comment