Converts a FreeImage bitmap to a raw bitmap, that is a raw piece of memory.
Namespace:
FreeImageAPI
Assembly:
FreeImageNET (in FreeImageNET.dll)
Syntax
Parameters
- bits
- Type: array<
System..::.Byte
>[]()[]
Array of bytes receiving the raw bitmap.
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- pitch
- Type: System..::.Int32
The desired total width in bytes of a scanline in the raw bitmap,
including any padding bytes.
- bpp
- Type: System..::.UInt32
The desired bit depth (bits per pixel) of the raw bitmap.
- red_mask
- Type: System..::.UInt32
The desired bit mask describing the bits used to store a single
pixel's red component in the raw bitmap. This is only applied to 16-bpp raw bitmaps.
- green_mask
- Type: System..::.UInt32
The desired bit mask describing the bits used to store a single
pixel's green component in the raw bitmap. This is only applied to 16-bpp raw bitmaps.
- blue_mask
- Type: System..::.UInt32
The desired bit mask describing the bits used to store a single
pixel's blue component in the raw bitmap. This is only applied to 16-bpp raw bitmaps.
- topdown
- Type: System..::.Boolean
If true, the raw bitmap will be stored in top-down order (top-left pixel first)
and in bottom-up order (bottom-left pixel first) otherwise.
Version Information
FreeImage.NET
Supported in: 3.12.0, 3.13.0, 3.13.1
See Also