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.