13 Apr
2016
13 Apr
'16
2:11 p.m.
But when I talk about "raw" I mean a simple RGBA, RGBA,RGBA.... format, not the camera format.
I just have a memory block that contains simple RGBA set of pixels and need to compress/uncompress them.
To summarie I need to :
1) compress the "unsigned int" (RGBA) into a compressed version in memory (without file access) 2) decompress to the same "unsigned int" (RGBA) memory block
How can I do that ? if possible !
Sorry that is not possible with boost::gil. I suggest you use one of the many image libs, libjpeg for lossy compression or libpng for non-lossy compression. Christian