Gmagick::readimageblob

(PECL gmagick >= Unknown)

Gmagick::readimageblobReads image from a binary string

说明

public Gmagick::readimageblob ( string $imageContents , string $filename = ? ) : Gmagick

Reads image from a binary string.

参数

imageContents

Content of image

filename

The image filename.

返回值

The Gmagick object on success

错误/异常

错误时抛出 GmagickException