开发者

How to color image in php by pixel ??`

开发者 https://www.devze.com 2023-01-12 22:00 出处:网络
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 开发者

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

精彩评论

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

关注公众号