12 Apr
2016
12 Apr
'16
9:05 p.m.
Hi, 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: https://github.com/boostorg/gil/tree/develop/include/boost/gil/extension/io 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. Regards, Christian