Returns the FREE_IMAGE_FORMAT for the specified ImageFormat.

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

Syntax

C#
public static FREE_IMAGE_FORMAT GetFormat(
	ImageFormat imageFormat
)
Visual Basic (Declaration)
Public Shared Function GetFormat ( _
	imageFormat As ImageFormat _
) As FREE_IMAGE_FORMAT
Visual C++
public:
static FREE_IMAGE_FORMAT GetFormat(
	ImageFormat^ imageFormat
)

Parameters

imageFormat
Type: System.Drawing.Imaging..::.ImageFormat
The ImageFormat for which to return the corresponding FREE_IMAGE_FORMAT.

Return Value

The FREE_IMAGE_FORMAT for the specified ImageFormat

Version Information

FreeImage.NET

Supported in: 3.13.0, 3.13.1

See Also