开发者

How to color image in php by pixel ??`

I have 2 vector . The first vector save the gradiend of 1 color . For example: from green to white. I want to color an image via pixel . for example we give the cordinate of an pixel (X ,Y) and 开发者_StackOverflow中文版dhe color RGB 40 , 60 , 120 and to color this pixel ect.. Is any function in php that can do this ??


Yes, for example using the gd library and imagesetpixel.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜