= Unknown)Gmagick::resampleimage — Resample image to desired resolution說明public Gmagick::resampleimage( float ">

Gmagick::resampleimage

(PECL gmagick >= Unknown)

Gmagick::resampleimageResample image to desired resolution

說明

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

Resample image to desired resolution.

參數(shù)

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.

返回值

The Gmagick object on success

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 GmagickException。