|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-08-03 12:08 UTC] filipe dot martins at i-senso dot com
[2007-08-03 12:47 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 06 21:00:01 2026 UTC |
Description: ------------ imagecolortransparent doesn't return the alpha color index though the given PNG is transparent. Filipe Martins www.i-senso.com Reproduce code: --------------- $img = imagecreatefrompng ('test-imagecreatefrompng.png'); echo imagecolortransparent ($img); Expected result: ---------------- The PNG is transparent, so the function shouldn't return -1. Actual result: -------------- It returns -1.