Search code examples
basic4android

Loading a part of PNG file without reading all of it to stay away from the memory limits


Is there any way of loading a part of PNG file without reading all of it to stay away from the memory limits?

Any solution like Agraham's JPEG Lib that can do same for PNG files?


Solution

  • Currently there is no equivalent library for PNG files. I assume that you are familiar with LoadBitmapSample which can be used to load a scaled down image and avoid out of memory errors.