kosi
01-09-2007, 06:36 AM
I am so confused by php images when it comes to transparency . . .
I tried to put a border around a jpg by merging it with a png that had a transparent center, but every time I merge the images, the center of the png comes out matted black. The same thing happens when I use a gif.
I tried to use the imagecolortransparent() function, but it keeps giving me an error. The documentation for this function on php.net is very confusing to me and every other documentation I've seen has simply been a mimic of php.net.
Does anybody know how to use this function? Or at least, to get around using it?
I'm working on php4.4.3, btw.
I tried to put a border around a jpg by merging it with a png that had a transparent center, but every time I merge the images, the center of the png comes out matted black. The same thing happens when I use a gif.
I tried to use the imagecolortransparent() function, but it keeps giving me an error. The documentation for this function on php.net is very confusing to me and every other documentation I've seen has simply been a mimic of php.net.
Does anybody know how to use this function? Or at least, to get around using it?
I'm working on php4.4.3, btw.