GD - Getting the alpha component of a color

Posted on Fri Jul 13 11:31:11 2007 by hmnielsen
Getting the alpha component of a color
Like the $image->rgb($index) method, I am looking for a method that returns the alpha component - either separately or with the rgb values, like an $image->rgba($index) method. I cannot find it and looking through the source of the modules hasn't helped me, yet :)
Write a response