= Unknown)Gmagick::read — Reads image from filename說(shuō)明public Gmagick::read(string $filename): GmagickReads image from filen">

Gmagick::read

(PECL gmagick >= Unknown)

Gmagick::readReads image from filename

說(shuō)明

public Gmagick::read(string $filename): Gmagick

Reads image from filename.

參數(shù)

filename

The image filename.

返回值

The Gmagick object.

錯(cuò)誤/異常

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