Original Post
🔒 Locked
A problem about bitmap
Advertisement
biSizeImage is equal to pitch * height * bpp/8, where pitch is the smallest multiple of 4 that is greater or equal to width. You can easily compute the pitch using the simple formula in C/C++:
HTH,
pitch = ((width + 3) & (~3));HTH,
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement