FindFileFormat reads the stream and try to recognize the image format from image header.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public static IEFileFormats FindFileFormat(
	Stream stream
)
Public Shared Function FindFileFormat ( _
	stream As Stream _
) As IEFileFormats
public:
static IEFileFormats FindFileFormat(
	Stream^ stream
)

Parameters

stream
Stream
The input stream to test

Return Value

Returns image format found

See Also