can't get transparent color in png
| From: | Roland T. Lichti | Date: | Wed, 26 Apr 2000 11:54:19 +0000 |
| Subject: | can't get transparent color in png | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14092@lists.php.net to get a copy of this message | ||
Hello,
I want to create a small image in php4rc1 with transparent background.
But
$iColorBack = ImageColorAllocate($img, 0xFF, 0xFF, 0xFF);
ImageColorTransparent($img, $iColorBack);
ImageFill($img, 0, 0, $iColorBack);
ImagePng($img);
doesn't seem to work. The image has a solid white background. Is PNG incapable
of transparent backgrounds or is this a bug of php4rc1?
bye,
Roland
--
cyland AG Roland T. Lichti
Hebelstraße 15 Systemadministration
76133 Karlsruhe +49-721/1608-337