Returns a FREE_IMAGE_FORMAT identifier from a MIME content type string (MIME stands for Multipurpose Internet Mail Extension).

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static FREE_IMAGE_FORMAT GetFIFFromMime(
	string mime
)
Visual Basic (Declaration)
Public Shared Function GetFIFFromMime ( _
	mime As String _
) As FREE_IMAGE_FORMAT
Visual C++
public:
static FREE_IMAGE_FORMAT GetFIFFromMime(
	String^ mime
)

Parameters

mime
Type: System..::.String
A MIME content type.

Return Value

A FREE_IMAGE_FORMAT identifier from the MIME.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also