Recently i have to convert colored bitmap/jpeg images to gray scale in my project. I found many solutions on Google but found one useful. This tutorial will help you browse images from directory and convert them to gray scale one by one.
First of all create a solution and windows form project in visual studio.
Then drag two picture boxes from toolbox on the left on to the form and two buttons also.
Name picture boxes pctColoredImage and pctGrayScale. Also the two buttons btnNext and btnPrevious and show text on them Next and Previous respectively.
Double click on each picture boxes and buttons to create their events.
Now create
List<string> FilesFromFolder = null; a global variable and in constructor initialize it like this
FilesFromFolder = new List<string>();
Now...