I am using media capture to get the image from a webcam, but i dont know how to upload the picture to salesforce controllers. I can get the picture in any format: jpg, png, gif.