Magick::Image

The class Magick::Image is extended with a few methods.

See also

Summary
Magick::ImageThe class Magick::Image is extended with a few methods.
Functions
to_ubyteConvert image to two-dimensional array (Sequence_) of 8-bit unsigned integers.
to_usintConvert image to two-dimensional array (Sequence_) of 16-bit unsigned integers.
to_sfloatConvert image to two-dimensional array (Sequence_) of single-precision floating-point numbers.
to_sfloatConvert image to two-dimensional array (Sequence_) of double-precision floating-point numbers.
to_ubytergbConvert image to two-dimensional array (Sequence_) of 24-bit unsigned RGB-triplets.
to_multiarrayConvert image to two-dimensional array (Sequence_).

Functions

to_ubyte

def to_ubyte

Convert image to two-dimensional array (Sequence_) of 8-bit unsigned integers.

to_usint

def to_usint

Convert image to two-dimensional array (Sequence_) of 16-bit unsigned integers.

to_sfloat

def to_sfloat

Convert image to two-dimensional array (Sequence_) of single-precision floating-point numbers.

to_sfloat

Convert image to two-dimensional array (Sequence_) of double-precision floating-point numbers.

to_ubytergb

def to_ubytergb

Convert image to two-dimensional array (Sequence_) of 24-bit unsigned RGB-triplets.

to_multiarray

def to_multiarray

Convert image to two-dimensional array (Sequence_).

def to_ubyte
Convert image to two-dimensional array (Sequence_) of 8-bit unsigned integers.
This class provides fast (multi-dimensional) Ruby arrays where all elements are of the same type.
def to_usint
Convert image to two-dimensional array (Sequence_) of 16-bit unsigned integers.
def to_sfloat
Convert image to two-dimensional array (Sequence_) of single-precision floating-point numbers.
def to_ubytergb
Convert image to two-dimensional array (Sequence_) of 24-bit unsigned RGB-triplets.
def to_multiarray
Convert image to two-dimensional array (Sequence_).
Close