• 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: "Live" image preview, huge memory usage...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Live" image preview, huge memory usage...


  • Subject: Re: "Live" image preview, huge memory usage...
  • From: Rob Keniger <email@hidden>
  • Date: Wed, 3 Dec 2008 16:33:43 +1000


On 03/12/2008, at 1:53 PM, Jean-Nicolas Jolivet wrote:

since I already have a bitmapImageRep I figured displaying its data in an NSImaveView was probably not a big loss in terms of performance... I wonder if drawing directly would be worth it in my case... and most importantly, if it would help solve my huge memory problem (perhaps drawing directly instead of storing the preview in an imageRep would help on the memory usage though so you might have a point!)


I'd definitely try drawing directly, in my experience NSImageView does quite a few funky things (probably for caching/performance reasons) and generally if you're changing the image a lot it's best to just draw directly in your own custom view.

--
Rob Keniger



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: "Live" image preview, huge memory usage...
      • From: Jean-Nicolas Jolivet <email@hidden>
References: 
 >"Live" image preview, huge memory usage... (From: Jean-Nicolas Jolivet <email@hidden>)
 >Re: "Live" image preview, huge memory usage... (From: glenn andreas <email@hidden>)
 >Re: "Live" image preview, huge memory usage... (From: Jean-Nicolas Jolivet <email@hidden>)
 >Re: "Live" image preview, huge memory usage... (From: douglas welton <email@hidden>)
 >Re: "Live" image preview, huge memory usage... (From: Jean-Nicolas Jolivet <email@hidden>)

  • Prev by Date: Re: NSURL bug with IPv6 addresses
  • Next by Date: Re: "Live" image preview, huge memory usage...
  • Previous by thread: Re: "Live" image preview, huge memory usage...
  • Next by thread: Re: "Live" image preview, huge memory usage...
  • Index(es):
    • Date
    • Thread