2009/1/27 Christian Henning <chhenning@gmail.com>
Hi Oliver,
 
Hi Christian,



I don't get it to compile even when you put the nth_channel_view call
inside jpeg_write_view for a simple reason. nth_channel_view needs the
reference type of your any_image. But that's not possible since no one
knows what image type the any_image actually is. You can cast your
any_image to a specific image type using gil's variant::_dynamic_cast
member. Then you can use nth_channel_view.

Are you sure your code compiles? Let me know if you keep having troubles.

Yes, my code compiles fine with boost 1.36. In attachement, maybe you could try.

Regards,
Olivier


Regards,
Christian
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users



--
Olivier Tournaire
MATIS - Institut Géographique National
73, Ave de Paris
94165 St Mandé cedex, France

tel: (+33) 1 43 98 80 00 - 71 25
fax: (+33) 1 43 98 85 81