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());
Imagick::readImageBlob
(PECL imagick 2.0.0)
Imagick::readImageBlob — Reads image from a binary string
Description
bool Imagick::readImageBlob
( string $image
[, string $filename
] )
Warning
This function is currently not documented; only its argument list is available.
Reads image from a binary string
Parameters
- image
-
Return Values
Returns TRUE on success.
Errors/Exceptions
Throws ImagickException on error.
Imagick::readImageBlob
finalmau at gmail dot com
29-Apr-2008 11:22
29-Apr-2008 11:22
