Objective Toolkit : Chapter 9 Image Classes : SECImage Format
SECImage Format
SECImage stores its image data internally in device independent bitmap (DIB) format. This has some unique advantages and disadvantages. The main disadvantage is that the image is not compressed in any way. The advantages include the ability to access data members such as m_lpSrcBits (pointer to the actual data bits) and m_lpBMI (pointer to the BITMAPINFO structure) directly. You can use these data members directly in Windows APIs such as StretchDIBits().
If you want to modify the SECImage format for editing or other purposes, we suggest you review how the image manipulation routines (for example, Rotate90() and FlipVert()) are implemented to become familiar with the internal format.