Gmagick::readimageblob
PHP Manual
PHP Manual»Gmagick»Gmagick::readimageblob

Gmagick::readimageblob

(PECL gmagick >= Unknown)

Gmagick::readimageblob — Reads image from a binary string

说明

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

Reads image from a binary string.

参数

imageContents

Content of image.

filename

The image filename.

返回值

The Gmagick object.

错误/异常

错误时抛出 GmagickException。

To Top