GIF87a�b�lz|�����䌞����|�����������t�������윦���܄
$cog1 = imagecreatefromgif('xresource/images/icons/tocLay1_contPerfImprov.gif');
$imageContainer = imagecreatetruecolor(180, 98);
imagecopy($imageContainer, $cog1, 0, 0, 0, 0, 180, 98);
header ('Content-Type: image/gif');
imagegif($imageContainer);
imagedestroy($cog1);
imagedestroy($imageContainer);
return;<img src="[[displayMygif]]">
require_once('xGraphic/showaGif.php');
return;
This question has been answered by sottwell. See the first response.
filenamehttp://php.net/manual/en/function.imagegif.php
The path to save the file to. If not set or NULL, the raw image stream will be outputted directly.