How to store images efficiently (memory-wise) while still being able to process them
- by Sheeo
I'm working on a silverlight project where users get to create their own Collages.
The problem
When loading images into memory, I'm using BitmapImage so that they can be displayed directly with the Image control--but they're locked in afterwards. So I've tried storing them seperately aswell, but that just sucks up huge amounts of RAM.
So in short, is there a class that'll let me store JPEG images, be able to show them with the image control, and still be able to export it afterwards? All this needs to be efficient--i.e. I'd rather not want any copying to ARGB arrays or use the WriteableBitmap to copy them over.
I require to work with large collections of images, up to 300 at most.
Any help apreciated!