Uses a memory handle to identify a bitmap type.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static FREE_IMAGE_FORMAT GetFileTypeFromMemory( FIMEMORY stream, int size ) |
Visual Basic (Declaration) |
---|
Public Shared Function GetFileTypeFromMemory ( _ stream As FIMEMORY, _ size As Integer _ ) As FREE_IMAGE_FORMAT |
Visual C++ |
---|
public: static FREE_IMAGE_FORMAT GetFileTypeFromMemory( FIMEMORY stream, int size ) |
Parameters
- stream
- Type: FreeImageAPI..::.FIMEMORY
Pointer to the stream.
- size
- Type: System..::.Int32
Size in bytes of the source.