PHP 上传图片压缩时的imagecreatefromjpeg函数问题
用imagecreatefromjpeg对上传的GIF图片操作时就报错Warning:imagecreatefromjpeg()[function.imagecreate...
用imagecreatefromjpeg对上传的GIF图片操作时就报错Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home/users/2/itigo.jp-ayumi/web/application/account/nikki.php on line 113Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/users/2/itigo.jp-ayumi/web/config/../uploadData/' is not a valid JPEG file in /home/users/2/itigo.jp-ayumi/web/application/account/nikki.php on line 113求高人指点GIF格式的文件上传后如何缩放,先谢谢了
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询