Reputation: 7424
Is it possible when loading an image from Isolated Storage to load it in lower quality format? I'm looping through a list of file paths that point to an image in Isolated Storage.
For example here is my code right now:
myObjectsList[i].ImageSrc = PictureDecoder.DecodeJpeg(imageStream);
Eventually the code runs fine, but it takes extremely long to load just 6 images and I'm hitting around 250mb (which is way over the limit for lower end devices). So what I was trying to figure out is if it's possible to load the images in a lower quality format. Or of course if anyone has any other suggestions I'd appreciate your feedback.
Upvotes: 0
Views: 329
Reputation: 15004
When you save your images create thumbnails of your images and load them for preview. This is a standard solution for this kind of problems.
I don't know if it's possible to load lower quality images, but it won't help you with your memory issue.
Upvotes: 1