gangelo
June 1st, 1999, 02:44 PM
I have 8 bit pixel data in memory that I need to flip both Horiz. and Vert. How do I do it? I want to take the raw pixel data, flip it, then attach the needed BITMAPINFOHEADER, BITMAPFILEHEADER and RGBQUAD table to create the bitmap.
flipsflops
June 2nd, 1999, 03:49 PM
I suggest using the StretchBlt function after selecting the data onto a memory DC (use CreateCompatibleDC for the memory device context)
Not all devices support the StretchBlt function, use the GetDeviceCaps function to check.
With regard to the other part the Bitmap Functions
should be okay ... I am stumbling in this area too.