 | BitmapImageCreateFrom8bpp Method |
Create image based on 8 bpp grey scale raw data.
Namespace:
CohesiveComputing.Imaging
Assembly:
CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntaxpublic static IBitmapImage CreateFrom8bpp(
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