Gmagick
在线手册:中文  英文

Gmagick::setimageinterlacescheme

(PECL gmagick >= Unknown)

Gmagick::setimageinterlaceschemeSets the interlace scheme of the image.

说明

public Gmagick Gmagick::setimageinterlacescheme ( int $interlace )

Sets the interlace scheme of the image.

参数

interlace

The image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.

返回值

The Gmagick object on success

错误/异常

错误时抛出 GmagickException


Gmagick
在线手册:中文  英文

用户评论:

Isius (2013-01-03 03:24:33)

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

易百教程