Posted by NC on 05/22/06 19:18
Chamomile wrote:
>
> Does anyone know if its possible to set imagecreatetruecolor()
> to initialise with transparency rather than black?
My first instinctive reaction would be to say no. Transparency is
supported in GIF and PNG formats, but not in JPEG. So when you attempt
to create an image that doesn't yet have a format associated with it,
you shouldn't expect it to contain features specific to a format you
have not yet defined...
Cheers,
NC
Navigation:
[Reply to this message]
|