XcfPrecision enum

Storage of each color or alpha component, independent of its color profile.

Inheritance
Available extensions

Values

u8Linear → const XcfPrecision

Unsigned 8-bit linear samples.

const XcfPrecision(100, 1)
u8Nonlinear → const XcfPrecision

Unsigned 8-bit samples using the profile's transfer curve.

const XcfPrecision(150, 1)
u8Perceptual → const XcfPrecision

Unsigned 8-bit perceptual samples.

const XcfPrecision(175, 1)
u16Linear → const XcfPrecision

Unsigned 16-bit linear samples.

const XcfPrecision(200, 2)
u16Nonlinear → const XcfPrecision

Unsigned 16-bit samples using the profile's transfer curve.

const XcfPrecision(250, 2)
u16Perceptual → const XcfPrecision

Unsigned 16-bit perceptual samples.

const XcfPrecision(275, 2)
u32Linear → const XcfPrecision

Unsigned 32-bit linear samples.

const XcfPrecision(300, 4)
u32Nonlinear → const XcfPrecision

Unsigned 32-bit samples using the profile's transfer curve.

const XcfPrecision(350, 4)
u32Perceptual → const XcfPrecision

Unsigned 32-bit perceptual samples.

const XcfPrecision(375, 4)
halfLinear → const XcfPrecision

IEEE 754 binary16 linear samples.

const XcfPrecision(500, 2)
halfNonlinear → const XcfPrecision

IEEE 754 binary16 samples using the profile's transfer curve.

const XcfPrecision(550, 2)
halfPerceptual → const XcfPrecision

IEEE 754 binary16 perceptual samples.

const XcfPrecision(575, 2)
floatLinear → const XcfPrecision

IEEE 754 binary32 linear samples.

const XcfPrecision(600, 4)
floatNonlinear → const XcfPrecision

IEEE 754 binary32 samples using the profile's transfer curve.

const XcfPrecision(650, 4)
floatPerceptual → const XcfPrecision

IEEE 754 binary32 perceptual samples.

const XcfPrecision(675, 4)
doubleLinear → const XcfPrecision

IEEE 754 binary64 linear samples.

const XcfPrecision(700, 8)
doubleNonlinear → const XcfPrecision

IEEE 754 binary64 samples using the profile's transfer curve.

const XcfPrecision(750, 8)
doublePerceptual → const XcfPrecision

IEEE 754 binary64 perceptual samples.

const XcfPrecision(775, 8)

Properties

bytesPerComponent → int
Number of bytes occupied by a component.
final
code → int
Numeric identifier used by XCF version 7 and later.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
isFloatingPoint → bool
Whether samples use IEEE 754 floating-point storage.
no setter
isLinear → bool
Whether color components encode linear light.
no setter
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromCode(int code) → XcfPrecision
Looks up a documented precision identifier.

Constants

values → const List<XcfPrecision>
A constant List of the values in this enum, in order of their declaration.