How to take pictures with a webcam?