FreeImage.NET Class Library Reference
FreeImageBitmapMakeThumbnail Method |
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) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public FreeImageBitmap MakeThumbnail( int maxPixelSize, bool convert )
Parameters
- maxPixelSize
- Type: SystemInt32
Thumbnail square size. - convert
- Type: SystemBoolean
When true HDR images are transperantly converted to standard images.
Return Value
Type: FreeImageBitmapThe thumbnail in a new instance.
See Also