Purpose: Set the value of a viewer image pixel.
Formats: 1) SETPIXEL variable
location
2) SETPIXEL variable
x y
Notes: The SETPIXEL statement will set the value of a pixel from the specified variable parameter. The first implementation will specify the point by the image address. To calculate the location point use the formula: (row * image width) + column. The second implementation allows the use of x and y coordinates to specify the pixel address.
See Also: GETPIXEL