Re: BMP pixel array
- From: "Mike D Sutton" <EDais@xxxxxxxx>
- Date: Sun, 22 May 2005 23:59:09 +0100
> I don't know if this is the right place to show my question.
> I can't understand why, in the BMP array after the headers, i find some zero
> that aren't in the real BMP image. This zero are at the end of a single pixel
> row. Sometime i find three zeros. I've seen, in a web page, that if a row
> ins't a multiple of 4 it need to add one, two or three zeros to reach this
> multiple of 4. I've tried to understand it but with no positive result.
> Somebody can explain me how this work? If you know a code about it better.
This is normal, each scan-line of Bitmap data is padded to align the next scan on a DWord (4-byte) boundary.
Hope this helps,
Mike
- Microsoft Visual Basic MVP -
E-Mail: EDais@xxxxxxxx
WWW: Http://EDais.mvps.org/
.
- Follow-Ups:
- Re: BMP pixel array
- From: james
- Re: BMP pixel array
- From: William
- Re: BMP pixel array
- References:
- BMP pixel array
- From: james
- BMP pixel array
- Prev by Date: BMP pixel array
- Next by Date: Re: DeleteObject for GDI+ Objects ?
- Previous by thread: BMP pixel array
- Next by thread: Re: BMP pixel array
- Index(es):
Relevant Pages
|