Imagick::getImageCompressionQuality

(PECL imagick 2 >= 2.2.2, PECL imagick 3)

Imagick::getImageCompressionQualityGets the current image's compression quality

说明

public Imagick::getImageCompressionQuality ( ) : int

Gets the current image's compression quality

参数

此函数没有参数。

返回值

Returns integer describing the images compression quality

User Contributed Notes

sNniffer 14-May-2020 03:13
using

    $img = new Imagick();
    $img->readImage( $local_da_imagem );
    print_r( $img->getImageCompressionQuality() );
PHP8中文手册 站长在线 整理 版权归PHP文档组所有