Home Search

DriveWorks Pro 22
IppGetPixelColor

Send Feedback

IppGetPixelColor

Returns a pipebar (|) delimited string that lists the Red, Green and Blue (RGB) values of the color of the pixel at position X,Y.

Syntax

IppGetPixelColor([Image Path],[X],[Y])

Where:

Image Path is the Full File Path and Name of the image file you want to use.

X is the X coordinate of the pixel from the left side of the image.

Y is the Y coordinate of the pixel from the top of the image.

Example

RuleResultMeaning
IppGetPixelColor("C:\MyDocuments\Content\Images\DWlogo.jpg",1,1)255|255|255This returns a list containing the RGB (Red, Green and Blue) values for a pixel situated at the given X and Y coordinates.