Click or drag to resize

ZebraCardGraphics.ExtractBlackImageData 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:System.Byte[]
The 24 or 32 bpp color image data.
redThreshold
Type: System.Byte
The red pixel threshold value.
greenThreshold
Type: System.Byte
The green pixel threshold value.
blueThreshold
Type: System.Byte
The blue pixel threshold value.

Return Value

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

Implements

ZebraGraphicsI.ExtractBlackImageData(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