Home  >  Article  >  Backend Development  >  如何用GD库把png格式的图片转为jpg的

如何用GD库把png格式的图片转为jpg的

WBOY
WBOYOriginal
2016-06-13 12:33:591440browse

怎么用GD库把png格式的图片转为jpg的?
基本需求是:把png的图片体积变小,然后保持一定的清晰度,尺寸不变。怎么实现?

图片
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn