Interface IImageInfoDetector
Encapsulates methods used for detecting the raw image information without fully decoding it.
Namespace: SixLabors.ImageSharp.Formats
Assembly: SixLabors.ImageSharp.dll
Syntax
public interface IImageInfoDetector
Methods
| Improve this Doc View SourceIdentify(Configuration, Stream, CancellationToken)
Reads the raw image information from the specified stream.
Declaration
IImageInfo Identify(Configuration configuration, Stream stream, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Configuration | configuration | The configuration for the image. |
Stream | stream | The Stream containing image data. |
CancellationToken | cancellationToken | The token to monitor for cancellation requests. |
Returns
Type | Description |
---|---|
IImageInfo | The PixelTypeInfo object |