RE: [PHP] dynamicly generating a transparent truecolor image

2004-01-17 Thread Mike Brum
PNG's support transparency as well as GIFs. 

The short answer is that you'll create your image and also specify a color
that will be made transparent. I don't see why imagecreatetruecolor making a
default black image is a problem? If it is, just set black to be the
transparent color and go from there. 

This is your friend:
http://us4.php.net/manual/en/function.imagecolortransparent.php

Regards
Michael Brum 

-Original Message-
From: Peter Vertes [mailto:[EMAIL PROTECTED] 
Sent: Saturday, January 17, 2004 1:48 AM
To: php
Subject: Re: [PHP] dynamicly generating a transparent truecolor image

If you want to create a transparent image don't forget it must be a GIF.  At
least that's what my graphics guys have been telling me all these years :)

-Pete

On Jan 16, 2004, at 04:41, Michel van der Breggen wrote:

 hi,
 i have a problem, i would like to dynamicly generete a transparent 
 truecolor image in php. The problem is that imagecreatetruecolor 
 standard creates a black image. Does anybody have a solution for this?

 Thanks in advance,
 Michel van der Breggen
 [EMAIL PROTECTED]

 --
 PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: 
 http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] dynamicly generating a transparent truecolor image

2004-01-17 Thread Brian V Bonini
On Sat, 2004-01-17 at 08:12, Mike Brum wrote:
 PNG's support transparency as well as GIFs. 
 

Just keep in mind that IE does not support transparency in png's.


-- 
BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys
  Key Server: pgp.mit.edu
==
gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC
GnuPG: http://gnupg.org
http://www.biglumber.com/x/web?qs=0x2C35011004A4F0DC
Linux Registered User #339825 at http://counter.li.org


signature.asc
Description: This is a digitally signed message part


[PHP] dynamicly generating a transparent truecolor image

2004-01-16 Thread Michel van der Breggen
hi,
i have a problem, i would like to dynamicly generete a transparent truecolor
image in php. The problem is that imagecreatetruecolor standard creates a
black image. Does anybody have a solution for this?

Thanks in advance,
Michel van der Breggen
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] dynamicly generating a transparent truecolor image

2004-01-16 Thread Peter Vertes
If you want to create a transparent image don't forget it must be a 
GIF.  At least that's what my graphics guys have been telling me all 
these years :)

-Pete

On Jan 16, 2004, at 04:41, Michel van der Breggen wrote:

hi,
i have a problem, i would like to dynamicly generete a transparent 
truecolor
image in php. The problem is that imagecreatetruecolor standard 
creates a
black image. Does anybody have a solution for this?

Thanks in advance,
Michel van der Breggen
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php