FreeImage.GetFormat Method

FreeImage.NET

FreeImageGetFormat Method
Returns the FREE_IMAGE_FORMAT for the specified ImageFormat.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FREE_IMAGE_FORMAT GetFormat(
	ImageFormat imageFormat
)

Parameters

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

Return Value

Type: FREE_IMAGE_FORMAT
The FREE_IMAGE_FORMAT for the specified ImageFormat
See Also