Click or drag to resize

ZebraCardGraphicsExtractBlackImageData Method

Separates the monochrome and color data from the specified image data using the specified threshold values.

Namespace:  Zebra.Sdk.Card.Graphics
Assembly:  SdkApi_Card_Desktop (in SdkApi_Card_Desktop.dll) Version: 2.14.1989
Syntax
public ExtractedImages ExtractBlackImageData(
	byte[] imageData,
	byte redThreshold,
	byte greenThreshold,
	byte blueThreshold
)

Parameters

imageData
Type: SystemByte
The 24 or 32 bpp color image data.
redThreshold
Type: SystemByte
The red pixel threshold value.
greenThreshold
Type: SystemByte
The green pixel threshold value.
blueThreshold
Type: SystemByte
The blue pixel threshold value.

Return Value

Type: ExtractedImages
Instance of ExtractedImages containing the color and monochrome image data.

Implements

ZebraGraphicsIExtractBlackImageData(Byte, Byte, Byte, Byte)
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf there is an error with the provided arguments.
ZebraCardExceptionIf an error occurs while extracting the monochrome data.
See Also