Boost logo

Boost Users :

From: John Femiani (JOHN.FEMIANI_at_[hidden])
Date: 2008-04-29 20:18:09


Christian wrote:
> I know there is still some work to do before a possible review.
> Documentation is lacking and support for dynamic image needs
> to be added. But what I want for now is to get some feedback
> on design and implementation.
>

When you do add support for this, perhaps you can address this issue:

What I would like is a way to read_and_convert to an any_image class, so
that the 'best' conversion from the file data to the format of one of my
image types is chosen.

For hypothetical example, if the file would optimally choose a gray16
planar image, but I pass any_image<mpl::vector<rgb8_image_t,
gray8_image_t> > to read_image, then I want the read_image function to
create a gray8_image_t and convert the pixels to that.

I dont know how it would be done, but that would be a nice feature.

I think the other thing would be for each image format to have its own
image_types typedef, to that I can read into an image variant that is
perfect for the reader.

Cheers,
John


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net