Gmagick::readimageblob

(PECL gmagick >= Unknown)

Gmagick::readimageblobReads image from a binary string

Description

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

Reads image from a binary string.

Parameters

imageContents

Content of image

filename

The image filename.

Return Values

The Gmagick object on success

Errors/Exceptions

Throws an GmagickException on error.

Коментарии

Автор:
If you want to be able to do the opposite (output your gmagick object to a blob), then use getImageBlob() like this:

$outputstring = $im->getImageBlob();

This is apparently undocumented here, but since the entire library is ported/modeled on the imagemagick library, it makes sense that it uses the same name as imagemagick.
2010-06-28 14:29:49
http://php5.kiev.ua/manual/ru/gmagick.readimageblob.html

    Поддержать сайт на родительском проекте КГБ