Click here to Skip to main content
15,867,750 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
In WP 8 I used PhotoCamera to make a camera app and to save the image in camera roll I used this method:
C#
private void cam_CaptureImageAvailable(object sender, ContentReadyEventArgs e)
{
    string fileName = "photo.jpg";
    MediaLibrary library = new MediaLibrary();
    library.SavePictureToCameraRoll(fileName, e.ImageStream);
}

In WPSL 8.1 I use MediaCapture and I use the same style to save image in camera roll but I don't know how to retrieve ImageStream from MediaCapture like in e.ImageStream. I am open to suggestions even with other programming style for saving to camera roll.

What I have tried:

I need some help and I don't know why I have to fill this box always even when I don't know what to do :)))
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900