Is there any way to convert开发者_开发百科 GIF file in JPG using php?
Yes, using the gd or ImageMagick libraries or friendly wrappers around them like WideImage.
There's several ways to convert image formats in PHP.
One way is with GD:
$im=imagecreatefromgif("agifimage.gif");
imagejpeg($im, "ajpegimage.jpg");
imagedestroy($im);
精彩评论