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

Description

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

This function is currently not documented; only its argument list is available.

Reads image from open filehandle

Parameters

filehandle

fileName

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws ImagickException on error.



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 | stats | sitemap | contact | advertising | mirror sites