note 79145 added to function.imagecolortransparent

From: Date: Tue, 13 Nov 2007 17:27:24 +0000
Subject: note 79145 added to function.imagecolortransparent
Groups: php.notes 
Request: Send a blank email to php-notes+get-132229@lists.php.net to get a copy of this message
a simple way to check png with alpha channel reading IHDR PNG HEADER $readPng = fopen ($argSourceImagePath, "rb"); $readAlp = fread ($readPng, 52); fclose ($readPng); if(substr(bin2hex($readAlp),50,2) == "04" || substr(bin2hex($readAlp),50,2) == "06") echo("Png has alpha"); ---- Server IP: 69.147.83.197 Probable Submitter: 87.7.136.32 ---- Manual Page -- http://www.php.net/manual/en/function.imagecolortransparent.php Edit -- https://master.php.net/note/edit/79145 Del: integrated -- https://master.php.net/note/delete/79145/integrated Del: useless -- https://master.php.net/note/delete/79145/useless Del: bad code -- https://master.php.net/note/delete/79145/bad+code Del: spam -- https://master.php.net/note/delete/79145/spam Del: non-english -- https://master.php.net/note/delete/79145/non-english Del: in docs -- https://master.php.net/note/delete/79145/in+docs Del: other reasons-- https://master.php.net/note/delete/79145 Reject -- https://master.php.net/note/reject/79145 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#132229) next »