
13 Oct
2006
13 Oct
'06
4:28 p.m.
Looks like its this easy (not using any_image yet): using namespace gil; BITMAP bm; m_bmp.GetBitmap(&bm); if (bm.bmPlanes == 1 && bm.bmBitsPixel == 8) { rgb8c_view_t src = interleaved_view(bm.bmWidth, bm.bmHeight, (const rgb8_pixel_t*)bm.bmBits, bm.bmWidthBytes); } "Gordon Smith" <schmoo2k@hotmail.com> wrote in message news:ego53p$ese$1@sea.gmane.org...
(This is using windows OS)
Is there anyway to simply initialize an image (any_image?) )from a memory bitmap? I would like to plug it into an existing app to play with it and this would really make it simple...
Gordon.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost