略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Gmagick::setimageinterlacescheme

2024-04-27

Gmagick::setimageinterlacescheme

(PECL gmagick >= Unknown)

Gmagick::setimageinterlaceschemeSets the interlace scheme of the image

说明

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

Sets the interlace scheme of the image.

参数

interlace

One of the Interlace constant (Gmagick::INTERLACE_*).

返回值

The Gmagick object.

错误/异常

错误时抛出 GmagickException

add a noteadd a note

User Contributed Notes 1 note

up
4
Isius
9 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

官方地址:https://www.php.net/manual/en/gmagick.setimageinterlacescheme.php

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