|
Boost : |
Subject: Re: [boost] Serialize a an image with Boost & GIL
From: Christian Henning (chhenning_at_[hidden])
Date: 2016-04-13 10:11:08
>
>
>
> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk