def import_pixels(blob, columns, rows, depth, photometry)
      raise ArgumentError, "Expected String, got #{blob.class}." unless blob.is_a?(String)
      image_module.import_pixels(blob, columns, rows, depth, photometry)
    end
def import_pixels(blob, columns, rows, depth, photometry)
      raise ArgumentError, "Expected String, got #{blob.class}." unless blob.is_a?(String)
      image_module.import_pixels(blob, columns, rows, depth, photometry)
    end
Creates an image object from a binary string blob.

 @param [String] blob binary string blob containing pixel data
 @param [Integer] columns the number of columns
 @param [Integer] rows the number of rows
 @param [Integer] depth the bit depth of the encoded pixel data
 @param [String] photometry a code describing the photometry of the pixel data (e.g. 'MONOCHROME1' or 'COLOR')
 @return [MagickImage] a Magick image object