php8.5
Home/ Manual/ imagick / imagick/ Imagick::setSizeOffset

Imagick::setSizeOffset

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Sets the size and offset of the Imagick object

Description

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. 0x629

Parameters

columns

The width in pixels.

rows

The height in pixels.

offset

The image offset.

Return Values

Success

Source: reference/imagick/imagick/setsizeoffset.xml · from the official PHP manual (php/doc-en)