FreeImage.NET Class Library Reference
FreeImageGetFileTypeFromMemory Method |
Uses a memory handle to identify a bitmap type.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FREE_IMAGE_FORMAT GetFileTypeFromMemory( FIMEMORY stream, int size )
Parameters
- stream
- Type: FreeImageAPIFIMEMORY
Pointer to the stream. - size
- Type: SystemInt32
Size in bytes of the source.
Return Value
Type: FREE_IMAGE_FORMATType of the bitmap.
See Also