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

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -