TiffCodec class final
Encodes and decodes Tagged Image File Format images.
- Inheritance
-
- Object
- Codec<
Image, Uint8List> - RasterCodec<
TiffEncodeOptions, TiffEncoder, TiffDecodeOptions, TiffDecoder> - TiffCodec
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 fromTtoS.no setterinherited - encoder → TiffEncoder
-
Returns the encoder from
StoT.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
maxPixelsbefore allocating pixels.inherited -
decode(
Uint8List encoded, {TiffDecodeOptions? decodeOptions}) → Image -
Decodes
encodeddata.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
thiswithother.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