略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Imagick::setSizeOffset

2024-11-14

Imagick::setSizeOffset

(PECL imagick 2, PECL imagick 3)

Imagick::setSizeOffsetSets the size and offset of the Imagick object

说明

public Imagick::setSizeOffset(int $columns, int $rows, int $offset): bool

Sets the size and offset of the Imagick object. Set it before you read a raw image format such as RGB, GRAY, or CMYK. 此方法在Imagick基于ImageMagick 6.2.9以上版本编译时可用。

参数

columns

The width in pixels.

rows

The height in pixels.

offset

The image offset.

返回值

成功时返回 true

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

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

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