Gmagick::setimageinterlacescheme

(PECL gmagick >= Unknown)

Gmagick::setimageinterlacescheme画像のインターレース手法を設定する

説明

public Gmagick::setimageinterlacescheme(int $interlace): Gmagick

画像のインターレース手法を設定します。

パラメータ

interlace

画像のインターレース手法。NoInterlace、LineInterlace、PlaneInterlace、PartitionInterlace。

返り値

成功した場合に Gmagick オブジェクトを返します。

エラー / 例外

エラー時に GmagickException をスローします。

add a note add a note

User Contributed Notes 1 note

up
4
Isius
11 years ago
Just in case you're having trouble finding the constants for this like I was. They are as-of-yet unlisted on the predefined constants page.

INTERLACE_UNDEFINED, UndefinedInterlace
INTERLACE_NO, NoInterlace
INTERLACE_LINE, LineInterlace
INTERLACE_PLANE, PlaneInterlace
INTERLACE_PARTITION, PartitionInterlace
To Top