PHP 8.4.0 RC4 available for testing

Gmagick::resampleimage

(PECL gmagick >= Unknown)

Gmagick::resampleimageResample image to desired resolution

Descrizione

public Gmagick::resampleimage(
    float $xResolution,
    float $yResolution,
    int $filter,
    float $blur
): Gmagick

Resample image to desired resolution.

Elenco dei parametri

xResolution

The new image x resolution.

yResolution

The new image y resolution.

filter

Image filter to use.

blur

The blur factor where larger than 1 is blurry, smaller than 1 is sharp.

Valori restituiti

The Gmagick object on success

Errori/Eccezioni

Throws an GmagickException on error.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top