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

search for in the

Imagick::recolorImage> <Imagick::readImageBlob
Last updated: Fri, 20 Nov 2009

view this page in

Imagick::readImageFile

(PECL imagick 2.0.0)

Imagick::readImageFileReads image from open filehandle

Descrierea

bool Imagick::readImageFile ( resource $filehandle [, string $fileName ] )
Avertizare

Această funcţie nu este documentată în prezent; este disponibilă numai lista sa de argumente.

Reads image from open filehandle

Parametri

filehandle

fileName

Valorile întroarse

Întoarce TRUE în caz de succes.

Erori/Excepţii

Aruncă ImagickException în caz de eroare.



add a note add a note User Contributed Notes
Imagick::readImageFile
ben dot james at acknowledgement dot co dot uk
26-Dec-2008 09:00
An example of reading an image file from a URL, using a handle returned by fopen():

<?php
$handle
= fopen('http://example.com/foo.jpg', 'rb');
$img = new Imagick();
$img->readImageFile($handle);
$img->resizeImage(128, 128, 0, 0);
$img->writeImage('images/foo.jpg');
?>

Imagick::recolorImage> <Imagick::readImageBlob
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites