Hi!

In my current project I use BMPs to read vectors from them in context of the bitmaps. I currently use 5.5k bitmaps and it is going to be like ~20k when the project is done.
Those 5.5k bitmaps swallow ~400mb of my nexus but only 20mb on my harddrive. The data encoded in the bitmaps is already 4x compressed so reducing this any further will not help, i guess and i think this is not the issue.

The bitmaps have variable sizes and i need the data pretty much all the time. They will never be shown, their only purpose is just to get the data from them.

Is there a way to reduce the memory usage, like encoding the data in a struct? Or reading the files not as a bitmap but as pure data? What would be a good way to do this?

Oh, and if anyone can explain to me why they swallow up so much space i would be happy to know the reason =)

Thanks in advance.


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com