Revision: 12629
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 21, 2009 23:43 by vcskicks
Initial Code
public Bitmap GenerateNoise(int width, int height) { Bitmap finalBmp = new Bitmap(width, height); Random r = new Random(); for (int x = 0; x < width; x++) { for (int y = 0; y < height; y++) { int num = r.Next(0, 256); finalBmp.SetPixel(x, y, Color.FromArgb(255, num, num, num)); } } return finalBmp; }
Initial URL
http://www.vcskicks.com/image-noise.php
Initial Description
Initial Title
Generate Image Noise
Initial Tags
image
Initial Language
C#