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 — Lee una imagen desde un string binario
Descripción
bool Imagick::readImageBlob
( string
$image
[, string $filename
] )Lee una imagen desde un string binario
Parámetros
-
image -
Valores devueltos
Devuelve TRUE en caso de éxito.
Errores/Excepciones
Lanza ImagickException en caso de error.
finalmau at gmail dot com ¶
5 years ago
