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

Opis

bool Imagick::pingImageFile ( resource $filehandle [, string $fileName ] )
Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

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

Parametry

filehandle

An open filehandle to the image.

fileName

Optional filename for this image.

Zwracane wartości

Zwraca TRUE w przypadku sukcesu.


The Imagick class
PHP Manual