PsAdjustmentSettingsCodec class abstract final

Reads and writes the binary adjustment settings shared by PSD blocks and preset files.

Readers consume the whole remaining input, keeping unrecognized bytes in trailingData.

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

encode(PsAdjustmentSettings settings) → Uint8List
Encodes settings of any kind into a new buffer.
readBlackAndWhite(PsBinaryReader reader, {PsDescriptorDecodeOptions options = const PsDescriptorDecodeOptions()}) → PsBlackAndWhite
Reads black-and-white settings: a versioned Action Descriptor.
readChannelMixer(PsBinaryReader reader) → PsChannelMixer
Reads channel-mixer settings.
readHueSaturation(PsBinaryReader reader) → PsHueSaturation
Reads hue/saturation settings.
readLevels(PsBinaryReader reader) → PsLevels
Reads levels settings.
readSelectiveColor(PsBinaryReader reader) → PsSelectiveColor
Reads selective-color settings.
writeBlackAndWhite(PsBinaryWriter writer, PsBlackAndWhite settings) → void
Writes black-and-white settings.
writeChannelMixer(PsBinaryWriter writer, PsChannelMixer settings) → void
Writes channel-mixer settings.
writeHueSaturation(PsBinaryWriter writer, PsHueSaturation settings) → void
Writes hue/saturation settings.
writeLevels(PsBinaryWriter writer, PsLevels levels) → void
Writes levels settings.
writeSelectiveColor(PsBinaryWriter writer, PsSelectiveColor settings) → void
Writes selective-color settings.