I am building a web site for an art gallery, and there is an admin section for the employees to be able to do things like add/remove images, change text, etc.
One of the thing I am adding to this section is the ability to change some of the more basic CSS elements like font color, bgcolor etc. The problem is that if the bgcolor and the font color change, then the logo has to be remade. Since the image is pretty simple, I have a hunch that I can get PHP to "re-make" the logo when the font/background colors are changed.
The logo is a black and white bitmap with only the two colors (black and white - no shades of gray). All I would need to do is change the black pixels to the font color and the white pixels to the bgcolor. Then I would simply size the image down and (assuming the PHP GD can resize using bicubic resampling) the edges would become softened.
Can I get PHP to do this?