I am using FreeImagePlus/FreeImage. I want to compress the bitmaps without saving them to HDD (files) using FreeImagePlus/FreeImage.
The given function FreeImage_save
does compress but its main aim is to save that image into a file in hard drive.
I am interested in compression only. How can I do this?