Function SimpleBMPImage.modifyPixel

Add colors (-255 to 255) to pixel at x,y (origin at lower left)

void modifyPixel (
  int x,
  int y,
  int red,
  int green,
  int blue
) pure @nogc;

Parameters

NameDescription
x The X coordinate of the pixel (origin at lower left).
y The Y coordinate of the pixel (origin at lower left).
red The intensity of the red color component (0 to 255).
green The intensity of the green color component (0 to 255).
blue The intensity of the blue color component (0 to 255).