 | BitmapImageCreateFrom24bpp Method |
Create image based on 24 bpp blue/green/red raw data. The start of each row must be 32-bit aligned.
Namespace:
CohesiveComputing.Imaging
Assembly:
CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntaxpublic static IBitmapImage CreateFrom24bpp(
byte[] imageData,
int width,
int height,
bool isTopDown,
int dpi
)
Parameters
- imageData
- Type: SystemByte
Image data. - width
- Type: SystemInt32
Image width. - height
- Type: SystemInt32
Image height. - isTopDown
- Type: SystemBoolean
True if image data is stored top down. - dpi
- Type: SystemInt32
Image dots-per-inch.
Return Value
Type:
IBitmapImageA new image instance.
See Also