RegisteredDecodersGetDecoder Method |
Returns an
ImageDecoder that can be used to decode the given stream.
Namespace:
Atalasoft.Imaging.Codec
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntaxpublic static ImageDecoder GetDecoder(
Stream stream
)
Public Shared Function GetDecoder (
stream As Stream
) As ImageDecoder
Parameters
- stream
- Type: System.IOStream
A stream containing the encoded image data.
Return Value
Type:
ImageDecoder
Remarks Use this method for obtaining the file format of an image saved to a file. See
GetImageInfo(String) for
obtaining the file format and extended information.
See Also