Method: Magick::Image#histogram?

Defined in:
ext/RMagick/rmimage.cpp

#histogram?Boolean

Return true if has 1024 unique colors or less.

Returns:

  • (Boolean)

    true if image has <= 1024 unique colors



7972
7973
7974
7975
7976
# File 'ext/RMagick/rmimage.cpp', line 7972

VALUE
Image_histogram_q(VALUE self)
{
    return has_attribute(self, IsHistogramImage);
}