TiffCodec class final

Encodes and decodes Tagged Image File Format images.

Inheritance

Constructors

TiffCodec({TiffEncoder rasterEncoder = const TiffEncoder(), TiffDecoder rasterDecoder = const TiffDecoder()})
Creates a TIFF codec with a bounded decoding allocation.
const

Properties

decoder → Converter<Uint8List, Image>
Returns the decoder of this, converting from T to S.
no setterinherited
encoder → TiffEncoder
Returns the encoder from S to T.
no setterinherited
format → ImageFormat
Format accepted and produced by this codec.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
inverted → Codec<Uint8List, Image>
Inverts this.
no setterinherited
rasterDecoder → TiffDecoder
Decoder used after shared input validation.
finalinherited
rasterEncoder → TiffEncoder
Encoder configured with this codec's output options.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

acceptsInput(Uint8List encoded) → bool
Recognizes input accepted by this codec before attempting a decode.
inherited
checkDecodedDimensions(int width, int height, int maxPixels) → void
Rejects dimensions that exceed maxPixels before allocating pixels.
inherited
decode(Uint8List encoded, {TiffDecodeOptions? decodeOptions}) → Image
Decodes encoded data.
inherited
decodeBytes(Uint8List encoded, {TiffDecodeOptions? decodeOptions}) → Image
Decodes bytes after shared format and allocation-option validation.
inherited
encode(Image input, {TiffEncodeOptions? encodeOptions}) → Uint8List
Encodes input.
inherited
encodeImage(Image image, {TiffEncodeOptions? encodeOptions}) → Uint8List
Encodes an image while format-specific options are in effect.
inherited
fuse<R>(Codec<Uint8List, R> other) → Codec<Image, R>
Fuses this with other.
inherited
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