.. highlightlang:: us .. index:: ImageSetPixelColor .. _imagesetpixelcolor: ImageSetPixelColor ================== .. us.tag ImageSetPixelColor NOTREADYENGLISH Image ImageGet New532 :ref:`ImageSetPixelColor` sets the color value of a bitmap pixel of a complete bitmap. .. function:: bool = ImageSetPixelColor(hImg, x, y, rgb) bool = ImageSetPixelColor(hImg, rgbMat) .. us.return **Return Value** *bool* .. us.params **Parameters** .. uparam:: hImg *hImg* identifies the picture created with :ref:`ImageCreate`. .. uparam:: x *x* is the horizontal pixel position in the range 1 to :ref:`ImageGetWidth`. .. uparam:: y *y* is the vertical pixel position in the range 1 to :ref:`ImageGetHeight`. .. uparam:: rgb *rgb* is the RGB value of a pixel. .. uparam:: rgbMat *rgbMat* is a matrix with the RGB values. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.3.2 - New .. seealso:: :ref:`overview-pictures`, :ref:`ImageCreate`, :ref:`ImageSetPixelGray`, :ref:`ImageGetPixelColor` :sub:`id-1230884`