ImageSetPixelColorΒΆ
ImageSetPixelColor sets the color value of a bitmap pixel of a complete bitmap.
- bool = ImageSetPixelColor(hImg, x, y, rgb)
- bool = ImageSetPixelColor(hImg, rgbMat)
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.
- rgb
rgb is the RGB value of a pixel.
- rgbMat
rgbMat is a matrix with the RGB values.
History
Version |
Description |
---|---|
5.3.2 |
New |
id-1230884