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

WBOY
Release: 2016-06-13 11:39:52
Original
1262 people have browsed it

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

图片
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!