略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Imagick::getImageCompressionQuality

2024-12-21

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

add a noteadd a note

User Contributed Notes 1 note

up
1
sNniffer
2 years ago
using

    $img = new Imagick();
    $img->readImage( $local_da_imagem );
    print_r( $img->getImageCompressionQuality() );

官方地址:https://www.php.net/manual/en/imagick.getimagecompressionquality.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3