Save image into isolated storage [closed]?

To save an image to IsolatedStorage from a PhotoChooserTask, use this (the e object in the task callback holds the stream): public static void SaveImage(Stream imageStream, string fileName, int orientation, int quality) { using (var isolatedStorage = IsolatedStorageFile. GetUserStoreForApplication()) { if (isolatedStorage. FileExists(fileName)) isolatedStorage.

DeleteFile(fileName); IsolatedStorageFileStream fileStream = isolatedStorage. CreateFile(fileName); BitmapImage bitmap = new BitmapImage(); bitmap. SetSource(imageStream); WriteableBitmap wb = new WriteableBitmap(bitmap); wb.

SaveJpeg(fileStream, wb. PixelWidth, wb. PixelHeight, orientation, quality); fileStream.Close(); } }.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions