note 69751 added to function.imagecolorallocate

From: Date: Tue, 19 Sep 2006 15:04:52 +0000
Subject: note 69751 added to function.imagecolorallocate
Groups: php.notes 
Request: Send a blank email to php-notes+get-117316@lists.php.net to get a copy of this message
This might help someone who want to use 'ImageColorAllocate ' with a hex value function ImageColorAllocateFromHex ($img, $hexstr) { $int = hexdec($hexstr); return ImageColorAllocate ($img, 0xFF & ($int >> 0x10), 0xFF & ($int >> 0x8), 0xFF & $int); } ---- Server IP: 83.137.20.120 Probable Submitter: 84.27.163.221 ---- Manual Page -- http://www.php.net/manual/en/function.imagecolorallocate.php Edit -- https://master.php.net/note/edit/69751 Del: integrated -- https://master.php.net/note/delete/69751/integrated Del: useless -- https://master.php.net/note/delete/69751/useless Del: bad code -- https://master.php.net/note/delete/69751/bad+code Del: spam -- https://master.php.net/note/delete/69751/spam Del: non-english -- https://master.php.net/note/delete/69751/non-english Del: in docs -- https://master.php.net/note/delete/69751/in+docs Del: other reasons-- https://master.php.net/note/delete/69751 Reject -- https://master.php.net/note/reject/69751 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#117316) next »