ImageSetPixelGrayΒΆ
ImageSetPixelGray sets the gray value of a pixel or complete bitmap.
- bool = ImageSetPixelGray(hImg, x, y, g)
- bool = ImageSetPixelGray(hImg, m)
Return Value
bool.
Parameters
- hImg
hImg identifies the picture created with ImageCreate.
- x
x is the horizontal pixel position in the range 1 to ImageGetWidth.
- y
y is the vertical pixel position in the range 1 to ImageGetHeight.
- g
g is the gray value of the specified pixel in the range 0 to 255.
- m
m is a matrix with gray values in the range 0 to 255.
History
Version |
Description |
---|---|
5.3.2 |
New |
id-568995