vb.net - Create BMP Screenshot and save as 8pp Grayscale -
i'm having lot of problems trying accomplish task. know how create screenshot , save bitmap....
dim printscreen new bitmap(thewidth, theheight, pixelformat.format24bpprgb) dim xscreenshot graphics = graphics.fromimage(printscreen) dim thetest new size(thewidth, theheight) dim thexloc string = "200" dim theyloc string = "200" xscreenshot.copyfromscreen(thexloc, theyloc, 0, 0, thetest) printscreen.save("c:\temp\printscreen.bmp", imageformat.memorybmp)
however when pull options pixelformat. there no option save in 8pp. trying because have been using aforge.imaging library image comparisons , in order compare grayscale images have in 8pp format.
Comments
Post a Comment