Imagick::getImageCompressionQuality

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

Imagick::getImageCompressionQualityGets the current image's compression quality

Description

public Imagick::getImageCompressionQuality(): int

Gets the current image's compression quality

Parameters

This function has no parameters.

Return Values

Returns integer describing the images compression quality

add a note add a note

User Contributed Notes 1 note

up
1
sNniffer
1 year ago
using

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