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

search for in the

Imagick::readImageFile> <Imagick::readImage
[edit] Last updated: Fri, 17 May 2013

view this page in

Imagick::readImageBlob

(PECL imagick 2.0.0)

Imagick::readImageBlobReads image from a binary string

Description

bool Imagick::readImageBlob ( string $image [, string $filename ] )

Reads image from a binary string

Parameters

image

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws ImagickException on error.



add a note add a note User Contributed Notes Imagick::readImageBlob - [1 notes]
up
0
finalmau at gmail dot com
5 years ago
For read a file from a bfile using OCI->LOB

//any.jpg must be any file
$image = new Imagick('any.jpg');

// rewind the OCI->lob
$ociLob->rewind();

//This is the magick
$image->readImageBlob($ociLob->read($oci->size()), $oci->size());

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