Mono Noise
procedure MonoNoise(var Bitmap: TBitmap; Amount: Integer); var Row:^TRGBTriple; H,V,a: Integer; begin for V:=0 to Bitmap.Height-1 do begin Row:=Bitmap.ScanLine[V]; for H:=0 to Bitmap.Width-1 do begin a:=Random(Amount)-(Amount shr 1); Row.rgbtBlue :=IntToByte(Row.rgbtBlue+a); Row.rgbtGreen :=IntToByte(Row.rgbtGreen+a); Row.rgbtRed :=IntToByte(Row.rgbtRed+a); inc(Row); end; end; end;