enum Gloop::ImageFormatType

Defined in:

gloop/image_format.cr

Enum Members

UIntNorm = 0

Normalized unsigned-integer. Converted to a float between 0 and 1.

IntNorm = 1

Normalized signed-integer. Converted to a float between -1 and 1.

UInt = 2

Unsigned integer value. Not converted to a float.

Int = 3

Signed integer value. Not converted to a float.

Float = 4

Floating-point value.

Instance Method Summary

Instance Method Detail

def float? #

[View source]
def int? #

[View source]
def int_norm? #

[View source]
def u_int? #

[View source]
def u_int_norm? #

[View source]