• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hot (well, thread-safe) or not?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Hot (well, thread-safe) or not? (From: John Pannell <email@hidden>)

  • Prev by Date: Re: NSMutableDictionary initialization problems
  • Next by Date: Re: sortSubviewsUsingFunction Question?
  • Previous by thread: Hot (well, thread-safe) or not?
  • Next by thread: [NEWBIE]subclass nsapplication
  • Index(es):
    • Date
    • Thread