update page now

Voting

: min(two, zero)?
(Example: nine)

The Note You're Voting On

wesley dot gunn at email dot it
18 years ago
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");

<< Back to user notes page

To Top