Imagick Image Library
PHP Manual

Imagick::pingImageFile

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

Imagick::pingImageFile — Get basic image attributes in a lightweight manner

Description

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

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

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

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

Parameters

filehandle

fileName

Return Values

Returns TRUE on success.


Imagick Image Library
PHP Manual