Click or drag to resize

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)
Syntax
public static ImageDecoder GetDecoder(
	Stream stream
)

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