[Gdal-dev] a question about reading a .bmp image
Andrey Kiselev
dron at ak4719.spb.edu
Tue Jan 6 05:50:08 EST 2004
On Mon, Jan 05, 2004 at 08:03:59PM +0100, EloisaNerea at ono.com wrote:
> Hi ?Could you explain me how I can read the information bit by bit of
> a .bmp image ?
GDAL data model doesn't support packed bytes. Bilevel BMP files will be
internally converted to the 8 bit representation and two colors will be
coded with 0 and 1 values (or values from the color palette, if file
contains the one). So you can read bilevel BMP file in the same way as
8bit one.
Andrey
--
Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517
More information about the Gdal-dev
mailing list