downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Gmagick::readimagefile> <Gmagick::readimage
Last updated: Fri, 20 May 2011

view this page in

Gmagick::readimageblob

(PECL gmagick >= Unknown)

Gmagick::readimageblobLee una imagen desde una cadena binaria

Descripción

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

Lee una imagen desde una cadena binaria.

Parámetros

imageContents

El contenido de la imagen

filename

El nombre de archivo de la imagen.

Valores devueltos

El objeto Gmagick si se tuvo éxito

Errores/Excepciones

Arroja un GmagickException en caso de error.



add a note add a note User Contributed Notes Gmagick::readimageblob
MPLong 28-Jun-2010 06:29
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.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites