Returns a thumbnail for this FreeImageBitmap, keeping aspect ratio. maxPixelSize defines the maximum width or height of the thumbnail.

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

Syntax

C#
public FreeImageBitmap GetThumbnailImage(
	int maxPixelSize,
	bool convert
)
Visual Basic (Declaration)
Public Function GetThumbnailImage ( _
	maxPixelSize As Integer, _
	convert As Boolean _
) As FreeImageBitmap
Visual C++
public:
FreeImageBitmap^ GetThumbnailImage(
	int maxPixelSize, 
	bool convert
)

Parameters

maxPixelSize
Type: System..::.Int32
Thumbnail square size.
convert
Type: System..::.Boolean
When true HDR images are transperantly converted to standard images.

Return Value

The thumbnail in a new instance.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also