Accusoft ImagXpress 12
RGBColorCount Method
See Also  Example  Send comments on this topic.
Red
The address of the 256 element array of longs to receive the count of red values.
Green
The address of the 256 element array of longs to receive the count of green values.
Blue
The address of the 256 element array of longs to receive the count of blue values.
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : RGBColorCount Method

Glossary Item Box

Description

The three arrays each containing 256 elements which equate to a count of the red, green, and blue color intensities of the image.

Syntax

Visual Basic
Public Sub RGBColorCount( _
   ByRef Red As Long, _
   ByRef Green As Long, _
   ByRef Blue As Long _
) 

Parameters

Red
The address of the 256 element array of longs to receive the count of red values.
Green
The address of the 256 element array of longs to receive the count of green values.
Blue
The address of the 256 element array of longs to receive the count of blue values.

Remarks

The array sets contain a histogram of intensity values for each of the red, green, and blue components of the current image.

Example

VB Example using RGBColorCount (Visual Basic)Copy Code
Dim Red(256) As Long
Dim Green(256) As Long
Dim Blue(256) As Long

ImagXpress1.RGBColorCount Red(0), Green(0), Blue(0)

See Also

©2013. Accusoft Corporation. All Rights Reserved.