Getting and Saving image from webcam