FreeImage.MakeThumbnail Method

FreeImage.NET

FreeImageMakeThumbnail Method
Creates a thumbnail from a greyscale or RGB(A) image, keeping aspect ratio.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIBITMAP MakeThumbnail(
	FIBITMAP dib,
	int max_pixel_size,
	bool convert
)

Parameters

dib
Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.
max_pixel_size
Type: SystemInt32
Thumbnail square size.
convert
Type: SystemBoolean
When true HDR images are transperantly converted to standard images.

Return Value

Type: FIBITMAP
Handle to a FreeImage bitmap.
See Also