Home > Backend Development > PHP Tutorial > PHP如何获取图片的压缩质量品质?

PHP如何获取图片的压缩质量品质?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:34:28
Original
2347 people have browsed it

PHP是否能够通过一些方法获取一张图片品质,最近在做一些图片处理遇到这个需求。

PHP如何获取图片的压缩质量品质?

上面的图是我用firework打开一张图片,需要得到的就是截图标红区域的品质。

回复内容:

PHP是否能够通过一些方法获取一张图片品质,最近在做一些图片处理遇到这个需求。

PHP如何获取图片的压缩质量品质?

上面的图是我用firework打开一张图片,需要得到的就是截图标红区域的品质。

PHP GDimagejpeg()函数第三个参数可以指定质量
手册

对比值,大小和原图比一下就好了

不懂,坐等高手

Related labels:
php
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template