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

StackOverflow https://stackoverflow.com/questions/7648046

  •  06-02-2021
  •  | 
  •  

Question

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?

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top