Boost logo

Boost :

From: Andreas Pokorny (andreas.pokorny_at_[hidden])
Date: 2006-12-10 16:41:25


Hi,

Thank you for that fast response.

Lubomir Bourdev <lbourdev_at_[hidden]> wrote:
> typedef boost::mpl::vector<gray8_image_t, gray16_image_t, rgb8_image_t,
> rgb16_image_t> my_img_types;
> any_image<my_img_types> runtime_img;
> jpeg_read_image("test.jpg", runtime_img);
>
> typedef any_image<my_img_types>::view_t::const_t::types_t my_civ_types;
> png_write_view("test_out.jpg", any_color_converted_view<my_civ_types,
> gray8_pixel_t>(const_view(runtime_img)));

Now I get another compiler errror at pixel_iterator_traits.hpp:128:

gil/core/pixel_iterator_traits.hpp|128| error: no type named 'channel_t' in 'struct
    gil::default_color_converter'
gil/core/pixel_iterator_traits.hpp|129| error: no type named 'color_space_t' in 'struct
    gil::default_color_converter'

A few pages later there are more error messages about pixel_traits being instantiated
with gil::default_color_converter. There several other types of default_color_converter
are accessed.

Regards
Andreas Pokorny


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk