locked
How to decrease the memory of PNG image? RRS feed

  • Question

  • In WM6.5 AP, I use some PNG images, but occupy lots of memory.
    So how to decrease the memory when use the PNG format image?

    Thanks very much.
    Tuesday, December 8, 2009 7:22 AM

Answers

  • You need to reduce image resolution. Say, going from 5MP to 0.3MP (VGA) would reduce memory usage more than 16 times.

    Image format does not matter as images are uncompressed as they are loaded into memory. Using compressed formats like JPEG can reduce amount of storage needed though.

    If your images are not under your control then you would need to use Imaging API to scale them down.

    This posting is provided "AS IS" with no warranties, and confers no rights.
    • Proposed as answer by Joel Ivory Johnson Tuesday, December 8, 2009 12:32 PM
    • Marked as answer by ZHE ZHAO Monday, December 14, 2009 3:52 AM
    Tuesday, December 8, 2009 8:02 AM