M
Mark G
Hi, with MFC I use the following to display and save a 2
pixels per byte raw image;
m_hDIBTemplate = CreateDIB(unpackedimage, 96, 96);
CreateDIBPalette(m_hDIBTemplate, &Palette);
hPal = (HPALETTE) Palette.m_hObject;
PaintDIB(TheDC.m_hDC, &frame, m_hDIBTemplate,
&templateDIBrect, &Palette);
stat = SaveDIB(m_hDIBTemplate, myfile);
How can I accomplish the same thing using C# and webforms?
Thanks
pixels per byte raw image;
m_hDIBTemplate = CreateDIB(unpackedimage, 96, 96);
CreateDIBPalette(m_hDIBTemplate, &Palette);
hPal = (HPALETTE) Palette.m_hObject;
PaintDIB(TheDC.m_hDC, &frame, m_hDIBTemplate,
&templateDIBrect, &Palette);
stat = SaveDIB(m_hDIBTemplate, myfile);
How can I accomplish the same thing using C# and webforms?
Thanks