php8.5
Home/ Manual/ gmagick / gmagick/ Gmagick::readimageblob

Gmagick::readimageblob

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Reads image from a binary string

Description

Gmagick::readimageblob(string $imageContents, [string $filename]): Gmagick

Reads image from a binary string.

Parameters

imageContents

Content of image.

filename

The image filename.

Return Values

The Gmagick object.

Errors/Exceptions

Throw

Source: reference/gmagick/gmagick/readimageblob.xml · from the official PHP manual (php/doc-en)