Boost logo

Boost :

Subject: Re: [boost] Serialize a an image with Boost & GIL
From: Christian Henning (chhenning_at_[hidden])
Date: 2016-04-12 17:05:29


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.


Boost list run by bdawes at, gregod at, cpdaniel at, john at