HistogramGetARGB Method

See Also     Examples     Applies To

Computes in one call, alpha, red, green and blue channel histograms of the native GdPicture image.

Syntax

object.HistogramGetARGB (*arHistoA(), *arHistoR(), *arHistoG(), *arHistoB())

The HistogramGetARGB syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
*arHistoA() Required. Output 1D (0 based) Long Array. Size must be equal to 256. The Alpha channed histogram data.
*arHistoR() Required. Output 1D (0 based) Long Array. Size must be equal to 256. The Red channed histogram data.
*arHistoG() Required. Output 1D (0 based) Long Array. Size must be equal to 256. The Green channed histogram data.
*arHistoB() Required. Output 1D (0 based) Long Array. Size must be equal to 256. The Blue channed histogram data.

Returns

Long. GdPictureStatus

Category

Histogram Functions

Visual Basic Sample


Dim arHistoA(0 To 255) As Long
Dim arHistoR(0 To 255) As Long
Dim arHistoG(0 To 255) As Long
Dim arHistoB(0 To 255) As Long
Dim nStat As Long

nStat = Object.HistogramGetARGB(arHistoA, arHistoR, arHistoG, arHistoB)






© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.