Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!srhqla!demott!kdq From: kdq@demott.COM (Kevin D. Quitt) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: Mircosoft C _putimage function Keywords: Microsoft C putimage Message-ID: <205@demott.COM> Date: 2 May 90 20:36:29 GMT References: <3756@castle.ed.ac.uk> Reply-To: kdq@demott.COM (Kevin D. Quitt) Distribution: comp.sys.ibm.pc.programmer Organization: DeMott Electronics Co., Van Nuys CA Lines: 23 Internal Structure of data for _getimage and _putimage The first four bytes consist of width (low byte first) and height (ditto) information followed by bit planes. 640 wide lines are represented by 80 bytes of the lsb of the color, followed by 80 bytes of the 2nd lsb, etc. etc. Note: the lefthand most pixel is the msb of the byte kdq -- _ Kevin D. Quitt Manager, Software Development DeMott Electronics Co. VOICE (818) 988-4975 14707 Keswick St. FAX (818) 997-1190 Van Nuys, CA 91405-1266 MODEM (818) 997-4496 Telebit PEP last 34 12 N 118 27 W srhqla!demott!kdq kdq@demott.com 96.37% of the people who use statistics in arguments make them up.