Method: Magick::Image#transparent_color

Defined in:
ext/RMagick/rmimage.cpp

#transparent_colorString

Return the name of the transparent color as a String.

Returns:

  • (String)

    the name of the transparent color



14827
14828
14829
14830
14831
14832
# File 'ext/RMagick/rmimage.cpp', line 14827

VALUE
Image_transparent_color(VALUE self)
{
    Image *image = rm_check_destroyed(self);
    return rm_pixelcolor_to_color_name(image, &image->transparent_color);
}