略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Gmagick::resampleimage

2024-11-13

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.

参数

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

错误/异常

错误时抛出 GmagickException

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/gmagick.resampleimage.php

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