Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!apple!bionet!agate!ucbvax!dewey.soe.berkeley.edu!oster From: oster@dewey.soe.berkeley.edu (David Phillip Oster) Newsgroups: comp.sys.mac.programmer Subject: Re: Help wanted with file format Keywords: MacPaint, graphics Message-ID: <32122@ucbvax.BERKELEY.EDU> Date: 24 Oct 89 04:48:52 GMT References: <15826@duke.cs.duke.edu> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster) Distribution: usa Organization: School of Education, UC-Berkeley Lines: 15 See if you can find a copy of Tech Note 86, which describes the file format in detail, and gives C and Pascal examples for reading and writing the file. LightSpeed C version 4 comes with source code, in art class, to do this directly. Claris also publishes a tech note with this information, and lastly, you probably should be writing PICT files, which can be read by MacDraw, among others, since they don't restrict you to MacPaint's 576x720 bitmap, but let you use as much resolution as you want. A PICT file is simply the data from a PicHandle preceded by 512 bytes of 0. See Tech note 154. > The mac is a detour in the inevitable march of mediocre computers. > drs@bnlux0.bnl.gov (David R. Stampf) --- David Phillip Oster -master of the ad hoc odd hack. Arpa: oster@dewey.soe.berkeley.edu Uucp: {uwvax,decvax}!ucbvax!oster%dewey.soe.berkeley.edu