Subject: Re: [boost] Serialize a an image with Boost & GIL
From: Visual Designer - Digital Team (digital_at_[hidden])
Date: 2016-04-13 05:54:27
Le 12/04/2016 23:05, Christian Henning a écrit :
> see below:
>> I have found the GIL library, but can't find how to:
>> 1) convert raw to GIL image
> There is a gil extension for the RAW image format in the develop branch of
> boost::gil. Look here:
> It uses libraw as the encoder.
>> 2) serialize the GIL image
> That we don't have but if you're are working on RGBA 8 bit data then most
> likely you can convert the gil type into an array of unsigned ints.
>> 1) deserialize the GIL image
>> 2) convert the GIL to raw image
> Writing an raw image is not possible with the current extension.
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
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 !
Thanks for your help
--- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk