 | BitmapImageCreateAsBinary Method (Int32, Int32, Int32, Boolean) |
Creates a binary image based on input data. Values greater than 0 are set to white, otherwise they are set to black.
Namespace:
CohesiveComputing.Imaging
Assembly:
CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntaxpublic static IBitmapImage CreateAsBinary(
int[] inputData,
int width,
int height,
bool isTopDown
)
Parameters
- inputData
- Type: SystemInt32
Input data. - width
- Type: SystemInt32
Input data width. - height
- Type: SystemInt32
Input data height. - isTopDown
- Type: SystemBoolean
True if input data is stored top down.
Return Value
Type:
IBitmapImageA new image instance.
See Also