Can't cache large NSImage's
Can't cache large NSImage's
- Subject: Can't cache large NSImage's
- From: Jan Van Tol <email@hidden>
- Date: Sun, 9 Mar 2003 15:35:37 -0600
I'm doing some image compositing, and when I try the following code,
this gets logged:
Exception raised during posting of notification. Ignored. exception:
Can't cache image
Here is the code:
NSImage *finalImage = [[NSImage alloc] initWithSize:NSMakeSize(1,
100000)];
[finalImage lockFocus];
It doesn't happen with smaller images, so it must be a problem with
large images. Is there a limit on how big they can be? Note that this
is just an example, and I haven't tested at what size exactly it starts
choking.
Anyone have any idea how to fix this? Its rather a problem for me.
-Jan Van Tol
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.