CImg problem
Hello All!
I am working on image processing and using the library CImg. Constructor of CImg is used to load the image file (.bmp etc)...
Problem is that when the destructor of CImg Object is called, it doesnt release the full memory.
e.g if i load an image of 225kb...CImg creates an object of 20kb and release 20 kb when destructor is called. 220kb are left unreferenced in the memory.
This is causing hell of problem as i want to process 10-15 images per second.
Plz help me in this regard
|