StringFormat.Format16bppArgb1555 ?
-
Hi folks, I have a kind of listview, with a couple of 1000 items. Each item displays a bitmap of around 100x100 pixels. Because it takes very long to make the bitmap, each item caches the bitmap instead of redrawing it over again. But, because there are so many items, memory goes berserk (+200000 private bytes) Each bitmap has a pixelformat of 32bppPArgb. Because i want to keep the memory within bounds, i would like to change this to Format16bppArgb1555 or something. But then i can't create a Graphics object from the bitmap (OutOfMemoryException). Does anyone here have any ideas? Thanks in andvance!
-
Hi folks, I have a kind of listview, with a couple of 1000 items. Each item displays a bitmap of around 100x100 pixels. Because it takes very long to make the bitmap, each item caches the bitmap instead of redrawing it over again. But, because there are so many items, memory goes berserk (+200000 private bytes) Each bitmap has a pixelformat of 32bppPArgb. Because i want to keep the memory within bounds, i would like to change this to Format16bppArgb1555 or something. But then i can't create a Graphics object from the bitmap (OutOfMemoryException). Does anyone here have any ideas? Thanks in andvance!