note 5918 deleted from function.imagecolortransparent by jimw

From: Date: Thu, 20 Dec 2001 22:01:07 +0000
Subject: note 5918 deleted from function.imagecolortransparent by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23463@lists.php.net to get a copy of this message
ok, I haven't tried it yet, but I think they mean the following, say you create a graphic ($id) and you want to render transparent anything red in that graphic, you could do the following: $id = imagecreate(100,100); $red = ImageColorAllocate($id, 255, 0, 0); $trans = imagecolortransparent($id, $red);

« previous php.notes (#23463) next »