win32.graph.freeimage.FreeImage_SetPixelColor

FreeImage_SetPixelColor is available since version 1.0.

Prototype:

boolean FreeImage_SetPixelColor(number dib, number x, number y, number red, number green, number blue)

Description:

Set the pixel color of a 16-, 24- or 32-bit image at position (x, y), including range check (slow access). Parameter x is the pixel position in horizontal direction, and parameter y is the pixel position in vertical direction.

Return value:

The function returns true on success, and returns false otherwise.