Hi,
Could anyone tell why my background colors with
ImageCreateTrueColor() are becoming black ?
I use the following script:
?php
Header(Content-type: image/png);
$im = @ImageCreateTrueColor(120, 50)
or die (Cannot Initialize new GD image stream!);
$background_color =
From the gd manual at boutell.com:
Truecolor images are always filled with black at creation time. There is
no concept of a background color index.
I suppose you'll have to use a function like imagefill to get your yellow
background.
-Josh
On Tue, 29 Oct 2002, Wouter de Jong wrote:
Hi,
On Tue, Oct 29, 2002 at 07:51:21AM -0500, [EMAIL PROTECTED] wrote:
From the gd manual at boutell.com:
Hmm, that was one place I didn't look at :( *stupid*
Truecolor images are always filled with black at creation time. There is
no concept of a background color index.
I suppose you'll have
3 matches
Mail list logo