note 67944 added to function.imagecolortransparent

From: Date: Fri, 07 Jul 2006 09:59:04 +0000
Subject: note 67944 added to function.imagecolortransparent
Groups: php.notes 
Request: Send a blank email to php-notes+get-114533@lists.php.net to get a copy of this message
This script creates transparency for a specific RBG color for an already created GIF image. <?php $im = imagecreatefromgif('trans.gif'); $img = imagecreatetruecolor(16,16); $trans = imagecolorallocate($img,255,99,140); imagecolortransparent($img,$trans); imagecopy($img,$im,0,0,0,0,16,16); imagetruecolortopalette($img, true, 256); imageinterlace($img); imagegif($img,'trans.gif'); imagedestroy($img); ?> ---- Server IP: 216.194.113.175 Probable Submitter: 67.182.196.202 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.imagecolortransparent.php Edit -- http://master.php.net/note/edit/67944 Del: integrated -- http://master.php.net/note/delete/67944/integrated Del: useless -- http://master.php.net/note/delete/67944/useless Del: bad code -- http://master.php.net/note/delete/67944/bad+code Del: spam -- http://master.php.net/note/delete/67944/spam Del: non-english -- http://master.php.net/note/delete/67944/non-english Del: in docs -- http://master.php.net/note/delete/67944/in+docs Del: other reasons-- http://master.php.net/note/delete/67944 Reject -- http://master.php.net/note/reject/67944 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#114533) next »