Using PHP to get the colour of image
I'm using a colour scale from blue to red, which is a PNG set at 100px wide. I would like to define a specific range i.e. pixels 10-14 and e开发者_如何学Goxtract the colours from there.
Is this at all possible with PHP?
I think the imagecolorat() function is exactly what you want.
精彩评论