是否可以将 GIF 文件转换为 JPG 并在 php 中从一个位置保存到另一个位置?
有没有办法使用php将GIF文件转换为JPG?
Is there any way to convert GIF file in JPG using php?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
有没有办法使用php将GIF文件转换为JPG?
Is there any way to convert GIF file in JPG using php?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
是的,使用 gd 或 ImageMagick 库或它们周围的友好包装器,例如 宽图像。
Yes, using the gd or ImageMagick libraries or friendly wrappers around them like WideImage.
在 PHP 中转换图像格式有多种方法。
一种方法是使用 GD:
There's several ways to convert image formats in PHP.
One way is with GD: