= Unknown)Gmagick::setimagetype — Sets the image type說明public Gmagick::setimagetype(int $imgType): GmagickSets the">

Gmagick::setimagetype

(PECL gmagick >= Unknown)

Gmagick::setimagetypeSets the image type

說明

public Gmagick::setimagetype(int $imgType): Gmagick

Sets the image type.

參數(shù)

imgType

One of the Image type constant (Gmagick::IMGTYPE_*).

返回值

The Gmagick object.

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 GmagickException。