Re: Speed up image display for large raw images?
Re: Speed up image display for large raw images?
- Subject: Re: Speed up image display for large raw images?
- From: Jens Alfke <email@hidden>
- Date: Wed, 15 Aug 2012 20:24:45 -0700
On Aug 14, 2012, at 9:58 PM, Marco S Hyman <email@hidden> wrote:
> The images are typically 25 MB Canon 7D raw image files that have
> been pre-alloc'ed and initWithContentsOfFile:
NSImage doesn't actually load the image pixels until it needs to. Merely initializing an instance won't do it.
That said, NSImage has changed a lot over time (especially its caching) and I'm not sure what the best way is to preload an image these days.
—Jens
_______________________________________________
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