array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'imagick.pingimage.php', 1 => 'Imagick::pingImage', 2 => 'Fetch basic attributes about the image', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.painttransparentimage.php', 1 => 'Imagick::paintTransparentImage', ), 'next' => array ( 0 => 'imagick.pingimageblob.php', 1 => 'Imagick::pingImageBlob', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/pingimage.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Imagick::pingImage

(PECL imagick 2, PECL imagick 3)

Imagick::pingImageFetch basic attributes about the image

Опис

public Imagick::pingImage(string $filename): bool

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

Параметри

filename

The filename to read the information from.

Значення, що повертаються

Повертає true в разі успіху.