Click or drag to resize

ZebraGraphicsI.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_Core (in SdkApi_Card_Core.dll) Version: 2.14.1989
Syntax
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.
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf there is an error with the provided arguments.
ZebraCardExceptionIf an error occurs while extracting the monochrome data.
See Also