Creates a thumbnail from a greyscale or RGB(A) image, keeping aspect ratio.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static FIBITMAP MakeThumbnail( FIBITMAP dib, int max_pixel_size, bool convert ) |
Visual Basic (Declaration) |
---|
Public Shared Function MakeThumbnail ( _ dib As FIBITMAP, _ max_pixel_size As Integer, _ convert As Boolean _ ) As FIBITMAP |
Visual C++ |
---|
public: static FIBITMAP MakeThumbnail( FIBITMAP dib, int max_pixel_size, bool convert ) |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- max_pixel_size
- Type: System..::.Int32
Thumbnail square size.
- convert
- Type: System..::.Boolean
When true HDR images are transperantly converted to standard images.