Original Post
Does anyone know how a 24bit windows BMP file gets padded at the end of every line? There is no member of BITMAPFILEHEADER or BITMAPFILEINFO that gives you the lPitch, and I can't find it any documented anywhere on msdn.com.