Re: Hot (well, thread-safe) or not?
Re: Hot (well, thread-safe) or not?
- Subject: Re: Hot (well, thread-safe) or not?
- From: "Louis C. Sacha" <email@hidden>
- Date: Sun, 17 Oct 2004 23:21:13 -0700
Hello...
Perhaps you might want to try the two following lines in the opposite order...
[thumbImage unlockFocus]; // this image is now an NSCachedImageRep
// create a compressed JPEG image to hand over - lower memory
requirements (hopefully)
myJPEGRep = [[NSBitmapImageRep alloc]
initWithFocusedViewRect:[[[thumbImage representations]
objectAtIndex:0] rect]];
Hope that helps,
Louis
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden