Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!dewey.soe.berkeley.edu!oster From: oster@dewey.soe.berkeley.edu (David Phillip Oster) Newsgroups: comp.sys.mac.programmer Subject: Re: Help, greyvalue images on the Macintosh Keywords: colorquickdraw, C, greyvalueimages Message-ID: <28687@ucbvax.BERKELEY.EDU> Date: 5 Apr 89 05:48:52 GMT References: <991@haydn.kulesat.uucp> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster) Organization: School of Education, UC-Berkeley Lines: 18 In article <991@haydn.kulesat.uucp> bartels@kulesat.uucp writes: >Image = NewHandle(128*128); should be Image = NewHandle(128L*128); If you include a prototype for NewHandle at the beginning of the file: Handle NewHandle(long); Think C will handle the number coercion directly. I have a short C program that takes as input a text file of postscript, posted in comp.lang.postscript before the election, and shows Bush in a window. You also get Bush on your clipboard. I'd be happy to post it, but I've never been able to reach comp.sys.mac.sources. If some one could help me find a path, I'll post the program (a K or two) and the data file (40k). --- David Phillip Oster --"When we replace the mouse with a pen, Arpa: oster@dewey.soe.berkeley.edu --3 button mouse fans will need saxophone Uucp: {uwvax,decvax}!ucbvax!oster%dewey.soe.berkeley.edu --lessons." - Gasee