![]() ![]() Microsoft has defined a particular representation of color bitmaps of different color depths, as an aid to exchanging bitmaps between devices and applications with a variety of internal representations. This can cause errors in your generated bitmaps (especially at odd resolutions such as 1366x768).Diagram 1 – The structure of the bitmap image file Example: when manipulating resources in Direct3D, the RowPitch is never guaranteed to be an even multiple of the byte depth being used. It's best to let the user specify the pitch value.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |