Returns a thumbnail for this FreeImageBitmap, keeping aspect ratio.
maxPixelSize defines the maximum width or height
of the thumbnail.
Namespace:
FreeImageAPIAssembly: 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.