Hi,
any updates on this bug?
I got the exactly same problem here:

~$ php --version
PHP 5.2.0-8+etch13 (cli) (built: Oct  2 2008 08:26:18) 
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
 
<?PHP
echo "0\n";
$image = imageCreateTrueColor(504,40); // create Image
echo "1\n";
$transparent = ImageColorAllocateAlpha($image,0,0,0,127); // define transparent 
color
echo "2\n";
ImageFill($image,0,0,$transparent); // fill picture with transparent color
echo "3\n";
?>

Leads to:

~$ php /var/www/test2.php 
0
1
2
Segmentation fault


With one additional problem:

<?PHP
$image = imageCreateTrueColor(504,40); // bild erstellen
echo "1\n";
$transparent = ImageColorAllocate($image,0,0,0); // transparente farbe bestimmen
echo "2\n";
ImageFill($image,0,0,$transparent); // bild komplett mit dieser farbe füllen
echo "3\n";
ImageColorTransparent($image,$transparent); // bild transparent machen
echo "4\n";
ImageGif($image,"/path/to/myimage.gif");
echo "5\n";
?>

That creates a black image at /path/to/myimage.gif
Does anyone have a solution?
At the moment it seems to me as if you cannot create transparent gif with 
Debian Etch.

Regards,
Justus




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to