Hello dear people of internet,
I have an idea for interesting script, but I'm trying to find the best way to accomplish what I want.
Idea is simple. Have pixels colors replaced, to achieve custom color for character every time. I have this guy, I will be using php canvas and maybe svg to generate these images: source image
And what I basically need is via script turn it into this: final result
I considered few ways to do it:
1) Have alpha only pixels and color it from behind and place alpha image on top to achieve shading and depth
2) Draw each pixel individually (but this option isn't what I really want to do)
3) Use some thing like hue/saturation, but that is beyond my knowledge.
maybe there is something I can do to achieve it.
Thank you.