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)
|
||||
$i = @imagecreatefromstring($data);
|
||||
if ($i) {
|
||||
imagesavealpha($img, true);
|
||||
imagesavealpha($i, true);
|
||||
return $i;
|
||||
}
|
||||
|
||||
|
@ -267,4 +267,4 @@ class jimIcon {
|
|||
return $img;
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue