Class TiffDecoder
- Namespace
- SixLabors.ImageSharp.Formats.Tiff
- Assembly
- SixLabors.ImageSharp.dll
Image decoder for generating an image out of a TIFF stream.
public class TiffDecoder : ImageDecoder, IImageDecoder
- Inheritance
-
TiffDecoder
- Implements
- Inherited Members
Properties
Instance
Gets the shared instance.
public static TiffDecoder Instance { get; }
Property Value
Methods
Decode(DecoderOptions, Stream, CancellationToken)
protected override Image Decode(DecoderOptions options, Stream stream, CancellationToken cancellationToken)
Parameters
options
DecoderOptionsstream
StreamcancellationToken
CancellationToken
Returns
Decode<TPixel>(DecoderOptions, Stream, CancellationToken)
protected override Image<TPixel> Decode<TPixel>(DecoderOptions options, Stream stream, CancellationToken cancellationToken) where TPixel : unmanaged, IPixel<TPixel>
Parameters
options
DecoderOptionsstream
StreamcancellationToken
CancellationToken
Returns
- Image<TPixel>
Type Parameters
TPixel
Identify(DecoderOptions, Stream, CancellationToken)
protected override ImageInfo Identify(DecoderOptions options, Stream stream, CancellationToken cancellationToken)
Parameters
options
DecoderOptionsstream
StreamcancellationToken
CancellationToken