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
.
精彩评论