VegaRise.NET
HomeAPI Reference
Back to StreamExtension

GetImageTypeMethod

Definition

Namespace
DOM.Extensions
Assembly
DOM.dll

Overloads

GetImageType(Stream stream)

Determines the image type based on the content of the stream.

GetImageType(MemoryStream stream)

Determines the image type based on the content of the stream.

GetImageType(FileStream stream)

Determines the image type based on the content of the file stream.

GetImageType(Stream stream)

GetImageType(Stream stream)

Determines the image type based on the content of the stream.

Parameters

stream
The input stream to analyze.

Returns

The detected image type.

GetImageType(MemoryStream stream)

GetImageType(MemoryStream stream)

Determines the image type based on the content of the stream.

Parameters

stream
The input stream to analyze.

Returns

The detected image type.

GetImageType(FileStream stream)

GetImageType(FileStream stream)

Determines the image type based on the content of the file stream.

Parameters

stream
The input file stream to analyze.

Returns

The detected image type.