UtilFreeImageConvert(Bitmap, String, FREE_IMAGE_FORMAT, FREE_IMAGE_SAVE_FLAGS) Method

Converts the format of the specified image.

Definition

Namespace: DevCase.ThirdParty.FreeImage
Assembly: DevCase.net48.ThirdParty.FreeImage (in DevCase.net48.ThirdParty.FreeImage.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void Convert(
	Bitmap bmp,
	string output,
	FREE_IMAGE_FORMAT newFormat,
	FREE_IMAGE_SAVE_FLAGS saveFlags = 0
)

Parameters

bmp  Bitmap
The source Bitmap.
output  String
The output filepath.
newFormat  FREE_IMAGE_FORMAT
The new image format.
saveFlags  FREE_IMAGE_SAVE_FLAGS  (Optional)
Additional flags.

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

FreeImageNET

See Also