I build an app that allows the user to capture an image and then save it to both the isolated storage and the phone's Media Library.
When I download these two pictures to my PC, I see that the one saved in isolated storage has a resolution of 2592x1944 pixels and 262 dpi, while the one saved in Media Library is 1222x1630 and 72 dpi. I cannot explain why this happens. My related code-behind is:
//Save image to isolated storage
Extensions.SaveJpeg(wb, fileStream, wb.PixelWidth, wb.PixelHeight, 0, 85);
//Save image to Media Library
MediaLibrary medialibrary = new MediaLibrary();
medialibrary.SavePicture(imageName, e.ChosenPhoto;);
(wb is a WritableBitmap that is created from e.ChosenPhoto)