cameracapturetask

Camera Capture Task in windows phone 8

社会主义新天地 提交于 2020-01-17 03:55:09
问题 I am working on windows phone application in which i need to store a captured image from the camera in isolated storage without saving it in the camera roll. I am able to store the captured image in the isolated storage but a copy of the captured image in also stored in the camera roll. Is there any way i can keep the image within the isolated storage rather than the camera roll. Thanks 回答1: If you want to save to ONLY isolated storage, you cannot use the CameraCaptureTask . In WP8, it will

How to Change Size of Image

做~自己de王妃 提交于 2019-12-08 10:50:51
问题 I am getting an image from the CameraCaptureTask, and I would like to be able to make the image much smaller before saving. The width and height are automatically set to the highest resolution, which is much more than what I need. I have been trying to get the image, change the dimensions, and then attempt to save, although I am getting errors. ORIGINAL MainPage.xaml.cs private void cameraTask_Completed(object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { BitmapImage bmi = new