Method: Magick::Image.ping

Defined in:
ext/RMagick/rmimage.cpp

.ping(file_arg) {|info| ... } ⇒ Array<Magick::Image>

Returns all the properties of an image or image sequence except for the pixels.

Parameters:

  • file_arg (File, String)

    the file containing image data or file name

Yields:

  • (info)

Yield Parameters:

Returns:

  • (Array<Magick::Image>)

    an array of 1 or more new image objects (without pixel data)

See Also:



10576
10577
10578
10579
10580
# File 'ext/RMagick/rmimage.cpp', line 10576

VALUE
Image_ping(VALUE klass, VALUE file_arg)
{
    return rd_image(klass, file_arg, GVL_FUNC(PingImage));
}