TiffRasterBuffer class
Decoded, unpacked pixel data for one TIFF page: one integer sample per channel per pixel, row-major, chunky/interleaved (channel varies fastest).
This is intentionally format-agnostic (no RGBA conversion, no photometric interpretation applied) — that belongs to a separate color-transform step so callers who want raw samples (e.g. 16-bit grayscale, palette indices) aren't forced through an RGBA reinterpretation.
samples is built via allocateSampleBuffer — a typed-data list picked
by bitsPerSample — rather than a generic List<int>; see that
function's doc comment for why the distinction matters well beyond raw
memory use.
Constructors
Properties
- bitsPerSample → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
samples
→ List<
int> -
Length is
width * height * samplesPerPixel.final - samplesPerPixel → int
-
final
- width → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sampleAt(
int x, int y, int channel) → int -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited