The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Using PHP only anybody know how to disable the transparency of a PNG and then replace the transparency color with a different color?
Essentially the problem is a PNG file that has "red" assigned as it's transparency color; I want to swap "red" for "blue" and not have the PNG transparent anymore. Thoughts? |
|
#2
|
||||
|
||||
|
you could copy the image and present the copied image on the fly.
however i've not played with alpha transparency and images, i'd suggest checking the gd pages at php.net. |
![]() |
|
|