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

Descrição

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

Esta função não está documentada; somente a lista de argumentos está disponível.

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

Parâmetros

filehandle

An open filehandle to the image.

fileName

Optional filename for this image.

Valor Retornado

Retorna TRUE em sucesso.


The Imagick class
PHP Manual