how to save images with metricam in c# console application -


i using code images webcam, guess metricam library

anyone knows how images without using picturebox?

webcam camera = new webcam(); camera.connect(); picturebox1.image = camera.getbitmap(); picturebox1.image.save(@"c:\image1 " + ".jpeg", imageformat.jpeg); 

picturebox1.image image type. can handle saving on own. handle saving when used picturebox too, notice how call save() method on image property , not on picturebox instance.

webcam camera = new webcam(); camera.connect(); image image = camera.getbitmap(); image.save(@"c:\image1 " + ".jpeg", imageformat.jpeg); 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -