update jimIcon (https://github.com/jimparis/jimIcon/pull/4)
This commit is contained in:
parent
6e01d65c6e
commit
5738e422b5
|
@ -106,7 +106,7 @@ class jimIcon {
|
||||||
// See if we can parse it (might be PNG format here)
|
// See if we can parse it (might be PNG format here)
|
||||||
$i = @imagecreatefromstring($data);
|
$i = @imagecreatefromstring($data);
|
||||||
if ($i) {
|
if ($i) {
|
||||||
imagesavealpha($img, true);
|
imagesavealpha($i, true);
|
||||||
return $i;
|
return $i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue