开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜