Imagick::setSizeOffset

(PECL imagick 2, PECL imagick 3)

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

Descrição

publicImagick::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. Este método estará disponível se a extensão Imagick tiver sido compilada com a ImageMagick versão 6.2.9 ou superior.

Parâmetros

columns

The width in pixels.

rows

The height in pixels.

offset

The image offset.

Valor Retornado

Retorna true em caso de sucesso.

To Top