I want to get a certain photo from the Camera Roll album, resize it and save it to my isolated storage so I can bind to it later - how would I go about it?
using (var library = new MediaLibrary())
{
PictureAlbumCollection allAlbums = library.RootPictureAlbum.Albums;
PictureAlbum cameraRoll = allAlbums.Where(album => album.Name == "Camera Roll").FirstOrDefault();
var CameraRollPictures = cameraRoll.Pictures;
}
Here is how I obtain my photos - my understanding is that I need to somehow write it to a writablebitmap, but I fail to see how to go about it. Please advise