Method: Magick::Image#chromaticity=

Defined in:
ext/RMagick/rmimage.cpp

#chromaticity=(chroma) ⇒ Magick::Chromaticity

Set the red, green, blue, and white-point chromaticity values from a Chromaticity.

Parameters:

  • chroma (Magick::Chromaticity)

    the chromaticity

Returns:

  • (Magick::Chromaticity)

    the given value



2717
2718
2719
2720
2721
2722
2723
# File 'ext/RMagick/rmimage.cpp', line 2717

VALUE
Image_chromaticity_eq(VALUE self, VALUE chroma)
{
    Image *image = rm_check_frozen(self);
    Export_ChromaticityInfo(&image->chromaticity, chroma);
    return chroma;
}