Subject: Re: [boost] gil::io "non-review" (was: [gil] Can not open test.jpg)
From: Christian Henning (chhenning_at_[hidden])
Date: 2010-03-26 10:12:37


Hi there,

> Also, allowing a more low-level abstraction permits creating image types
> for images that do not live in memory. Which, IIUC, is what Phil really
> needs in his TIFF use-case.

In gil there is something called virtual images. One usage example
would be a procedural image displaying a mandelbrot set. See

boost\libs\gil\example\mandelbrot.cpp

But virtual images are not limit to procedural images. A while back I
created an indexed image type for gil using this functionality. You
can find it here:

http://gil-contributions.googlecode.com/svn/trunk/gil_2/boost/gil/extension/toolbox/indexed_image.hpp

I hope this tip can give you an indication on how flexible gil can be
and how easy it is to create different image types.

Regards,
Christian