Click or drag to resize

ZebraGraphicsIExtractBlackImageData 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: 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.
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf there is an error with the provided arguments.
ZebraCardExceptionIf an error occurs while extracting the monochrome data.
See Also