QDError
a number of new result codes, and it has also been modified so that it does not
fail on a black-and-white system (where it always returns FALSE). Its format
is the same:
Notes: QuickDraw uses stack space for work buffers. For complex operations such as depth con version, dithering, and image resizing, stack space may
memory from other parts of the system. If that is still not enough, QDError returns this code:
mfStackErr (-149) Insufficient stack
If your application receives this result code, divide the operation-for
example, divide the image into left and right halves-and try again.
When you record drawing operations in an open region, the resulting region
description may overflow the 64 KB limit. Should this happen, QDError returns -147.
regionTooBigError (-147) Region too big or complex
Since the resulting region is potentially corrupt, the closeRgn procedure
returns an empty region if it detects QDError has been set to -147. A similar error can occur during conversion of a bitmap to a region.
rgnTooBigErr (-500) Bitmap would convert to a region greater than 64 KB
supplied that is greater than 1 bit per pixel.
pixmapTooDeepErr (-148) Pixel map record is deeper than 1 bit per pixel
You may be able to recover from this problem by imaging your too-deep pixel