Jump to content

Recoloring PNG-24 images with PHP/GD


Tak

Recommended Posts

Hey folks. I'm hoping that someone here can help me with this little problem that I'm having. At this moment in time I've got a script that takes multiple PNG-24 images and layers them on top of one another.

 

What I want to do is recolor the PNG graphics before they're merged. I'm just sort of stuck. I haven't done too much work with PNGs, and before with GIFs, I was able to accomplish the same thing using the functions imagecolorexact and imagecolorset. Are there similar functions to use with PNGs? I'm just having a bit of trouble finding what I want. Any sort of help or a push in the right direction would be really appreciated. Thanks. :)

Link to comment
https://forums.phpfreaks.com/topic/89166-recoloring-png-24-images-with-phpgd/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.