Newsgroups: comp.os.msdos.programmer
Path: utzoo!utgpu!watserv1!maytag!watstat.waterloo.edu!dmurdoch
From: dmurdoch@watstat.waterloo.edu (Duncan Murdoch)
Subject: Re: Turbo C getimage() image format?
Message-ID: <1991Jun18.183059.22933@maytag.waterloo.edu>
Sender: news@maytag.waterloo.edu (News Owner)
Organization: University of Waterloo
References: <1991Jun17.152139.1@vax1.tcd.ie> <1991Jun18.015412.20940@cavebbs.gen.nz>
Date: Tue, 18 Jun 1991 18:30:59 GMT
Lines: 16

In article <1991Jun18.015412.20940@cavebbs.gen.nz> frank@cavebbs.gen.nz (Frank van der Hulst) writes:
>In article <1991Jun17.152139.1@vax1.tcd.ie> dbearly@vax1.tcd.ie writes:
>>Could someone please e-mail me the format of the image saved when I 
>>use the getimage(...) and putimage(...) functions of Turbo C's BGI
>>library?
>
>Its detailed in the manual -- 2 words giving width & height, followed by
>data (1 bit per pixel for B/W, dunno about others). I think that there may
>also be an extra word after the width and height.

The format of the data is up to the .BGI driver, I think.  It tries for
whatever is most convenient for loading and storing, not necessarily
any standard form.

Duncan Murdoch

