Re: more information about BMPs

Search this archive.

From: Jack Erwin (jack@privatei.com)
Date: Fri 10 Dec 1999 - 21:45:27 IST


If I remember correctly, BMP's are usually aligned on a 4 byte boundary, therefore, even and odd don't matter.  Since 90 is not a multiple of four, you get the stagger effect that you are experiencing.  If you pad each scanline by two more bytes, things should start to look right.

Hope this helps,
Jack


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:22 IST