How will I test the quality of a scanned image with VC++ or any other visual programming language?