Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!ncar!tank!cps3xx!cpsvax!dulimart From: dulimart@cpsvax.cps.msu.edu (Hansye S. Dulimarta) Newsgroups: comp.windows.ms Subject: Re: Windows Paint File structure Keywords: image, file format, paint file. Message-ID: <5670@cps3xx.UUCP> Date: 5 Dec 89 15:31:23 GMT References: <8912031906.AA13829@hydroplane.cis.ohio-state.edu> Sender: usenet@cps3xx.UUCP Reply-To: dulimart@cpsvax.msu.edu (Hansye S. Dulimarta) Organization: Michigan State University, Computer Science Department Lines: 19 Hello netters, I wish to write a program that reads a Windows Paint file and encodes the data for further processing. One fellow from the other newsgroup said that basically the format of this file is 32 byte of header followed by the data. Could anybody tell me the description of each field in this header. I found out that the first four bytes is 'DanM', the next two 2-byte values are row & column size (I'm not sure which one is which ?) but I don't know the rest ? I appreciate your helping me with the description. Hans. /*---------------------------------------------------------------------------* * Hans Dulimarta (517) 355-3840 * * dulimart@pixel.cps.msu.edu [35.8.56.4] * * dulimart@cpsvax.cps.msu.edu [35.8.56.111] * * dulimart@{frith|msudoc}.egr.msu.edu [35.8.8.108] * * {....}!tank!eecae!cpsvax!dulimart * *---------------------------------------------------------------------------*/