cant find function to extract rgb from allocated color, will take this up in coding forum...
Luke wrote:
I'm thinking of making some PHP functions for gd for adjusting hue saturation and so forth of an image. I am going to just use ImageColorAt() and ImageSetPixel(), and just have it apply the change pixel by pixel. I'm wondering if anybody knows if:
A) anybody has already done this and where I can get the functions.
😎IF similar existing GD funtions (like ImageLine() and ImageGammaCorrect()) are derived from PHP's ImageSetPixel() or if they are written in Native code.
😎 If using PHP to do this is even possible or if it will be a big shitty CPU/RAM hog for the server or just too slow to work well.
Any answers to these questions could save me a lot of time. Gracias!
Luke