Home > PHP > Function > > Imagick::pingImage()

Imagick::pingImage()

Imagick::pingImage - Fetch basic attributes about the image

Syntax

bool Imagick::pingImage (string $filename)

Arguments

  • filename - The filename to read the information from.

Description

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

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.