XAddPixel(3X) XLIB FUNCTIONS XAddPixel(3X)NAMEXAddPixel - image utilities
SYNTAX
XAddPixel(ximage, value)
XImage *ximage;
long value;
ARGUMENTS
ximage Specifies the image.
value Specifies the constant value that is to be added.
DESCRIPTION
The XAddPixel function adds a constant value to every pixel in an
image. It is useful when you have a base pixel value from allocating
color resources and need to manipulate the image to that form.
SEE ALSOXInitImage(3X), XCreateImage(3X), XGetPixel(3X), XPutPixel(3X), XSubIm‐
age(3X), XDestroyImage(3X)X Version 11 Release 6 XAddPixel(3X)