Method: Magick::Image.ping

Defined in:
ext/RMagick/rmimage.c

.ping(file_arg) ⇒ Object

Call ImagePing.

Ruby usage:

- @verbatim Image.ping(file) @endverbatim

Parameters:

  • class

    the Ruby class for an Image

  • file_arg

    the file containing image info

Returns:

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

See Also:

  • Image_read
  • rd_image
[View source]

9740
9741
9742
9743
9744
# File 'ext/RMagick/rmimage.c', line 9740

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