Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!labrea!Shasta!kaufman
From: kaufman@Shasta.STANFORD.EDU (Marc Kaufman)
Newsgroups: comp.sys.mac
Subject: PICT file expansion
Message-ID: <2324@Shasta.STANFORD.EDU>
Date: 12 Dec 87 02:00:00 GMT
Reply-To: kaufman@Shasta.stanford.edu (Marc Kaufman)
Organization: Stanford University
Lines: 19

I have a strange picture problem.  I am trying to image one of the ATG files
(the robot arm), converted to PICT format, into an off-screen pixmap.
The file is on disk and uses a CQDProc bottleneck procedure to read it.
Also, I am using a custom color lookup procedure.

The off-screen pixmap is 1366 x 2048 (2,797,568 bytes).

On a 2-meg MAC, with a pixmap 1/4 the size, everything works.  When we
upgraded the memory to 4 megs, so that the entire pixmap could be built
at once, the machine hangs: no cursor and the programmer switch is inop.
No other changes were made to the program, which is running under Finder.

Any ideas?  Does CQuickdraw have a problem when there are more than a
million pixels in the destination image?

[I plan to file a formal bug report with Apple, but Usenet gets to more
places faster]

Marc Kaufman (kaufman@Shasta.stanford.edu)