
26 Mar
2009
26 Mar
'09
8:34 a.m.
Hi there, what type is m_imageData? The following works: unsigned int w, h, p; unsigned char* buffer; rgba8c_view_t v1 = interleaved_view( w, h, reinterpret_cast<rgba8_pixel_t const*>( buffer ), p ); rgba8_view_t v2 = interleaved_view( w, h, reinterpret_cast<rgba8_pixel_t*>( buffer ), p ); BTW, please make sure to read the tutorial. http://www.boost.org/doc/libs/1_38_0/libs/gil/doc/html/giltutorial.html Christian