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

說明

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

此函式目前沒有參考文件;只有引數列表。

Warning

本函式是實驗性的。這個函式的行為、名稱、和關於此函式的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此函式需自行承擔風險。

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

參數

filehandle

fileName

Return值

Returns TRUE on success.


Imagick Image Library
PHP Manual