- The PHP development team announces the immediate availability of PHP 5.5.38. This is a security release that fixes some security related bugs.
- Note: Since all GIF support was removed from the GD library in version 1.6, this function is not available if you are using that version of the GD library.
- Hm - you're sure that the first one is actually calling imagegif? Unless you're running a very old version of GD it shouldn't work, should give the.
Description int imagegif ( resource image , string filename). Todoist app store app. Acrobat adobe pro for mac os x torrent. Photo browser for mac. Imagegif creates the GIF file in filename from the image image.The image argument is the return from.
<?php
// Create a new image instance
$im = imagecreatetruecolor(100, 100);
// Do some image operations here
// Handle output
if(function_exists('imagegif'))
{
// For GIF
header('Content-Type: image/gif');
imagegif($im);
}
elseif(function_exists('imagejpeg'))
{
// For JPEG
header('Content-Type: image/jpeg');
imagejpeg($im, NULL, 100);
}
elseif(function_exists('imagepng'))
{
// For PNG
header('Content-Type: image/png');
imagepng($im);
}
elseif(function_exists('imagewbmp'))
{
// For WBMP
header('Content-Type: image/vnd.wap.wbmp');
imagewbmp($im);
}
else
{
imagedestroy($im);
die('No image support in this PHP server');
}
// If image support was found for one of these
// formats, then free it from memory
if($im)
{
imagedestroy($im);
}
?>
Image Gif Maker
Similar topics
Image Gif Editor
3 posts views Thread by Charley | last post: by |
1 post views Thread by Phil Powell | last post: by |
9 posts views Thread by gsb | last post: by |
4 posts views Thread by Phil Powell | last post: by |
4 posts views Thread by lawrence | last post: by |
4 posts views Thread by Pewpew | last post: by |
2 posts views Thread by Mr Fred | last post: by |
8 posts views Thread by sakthipro | last post: by |
3 posts views Thread by helraizer1 | last post: by |
5 posts views Thread by SwissProgrammer | last post: by |
reply views Thread by LessComplexity | last post: by |
reply views Thread by ravipankaj | last post: by |
1 post views Thread by gcdp | last post: by |
1 post views Thread by newkwesi | last post: by |
reply views Thread by kamranasdasdas | last post: by |
reply views Thread by gcreed | last post: by |
reply views Thread by Swethas3124 | last post: by |
2 posts views Thread by tgifrank32 | last post: by |