Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
The Imagick class
PHP Manual

Imagick::pingImageFile

(No version information available, might be only in CVS)

Imagick::pingImageFileGet basic image attributes in a lightweight manner

Description

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

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

This method can be used to query image width, height, size, and format without reading the whole image to memory.

Parameters

filehandle

An open filehandle to the image.

fileName

Optional filename for this image.

Return Values

Returns TRUE on success.


The Imagick class
PHP Manual