enum CrImage::ChannelType

Overview

Enum representing different image channels supported by CrImage

See RGBAImage#each_color_channel and GrayscaleImage#each_color_channel

Defined in:

cr-image/channel_type.cr

Enum Members

Red = 0
Green = 1
Blue = 2
Gray = 3
Alpha = 4

Instance Method Summary

Instance Method Detail

def alpha? #

[View source]
def blue? #

[View source]
def default : UInt8 #

[View source]
def gray? #

[View source]
def green? #

[View source]
def red? #

[View source]