I'm writing a OCR program (handwriting recognition acutally), and I need some sort of way to take the image data from a Picturebox (stuff isi drawn to it with the Graphics class), resize it (using nearest neighbor resampling), and convert to pure B+W and generate a bitboard of 1s and 0s indicating which pixels are black and which are white.

please direct me to success...

-C