Re: iPhoto-like scroll view
Re: iPhoto-like scroll view
- Subject: Re: iPhoto-like scroll view
- From: Chris Williams <email@hidden>
- Date: Sat, 08 Sep 2007 08:43:24 -0700
- Thread-topic: iPhoto-like scroll view
Been there, done that, got the t-shirt :)
Actually, the limiting factor (for me at least) was just schleping the image
in from the disk, and writing it back to the database. Once I had it in
memory, I played with all kinds of techniques to make the thumb and nothing
made much of a difference. So I went with one that was clean and did what I
wanted.
If you think about it, it makes sense. Just copying a folder with several
thousand images, each several hundred K in size, is a slow operation.
From: glenn andreas <email@hidden>
Subject: Re: iPhoto-like scroll view
You can get much better thumbnail creation performance by using
CoreGraphic's thumbnail creation routine
CGImageSourceCreateThumbnailAtIndex, since it can be smart enough to
do things like use built in thumbnail stored in the specific image
format, and other funky trickys like rendering a JPG at a different
resolution (which is far faster than rendering it at the full
resolution and scaling it down, not to mention less memory intensive).
_______________________________________________
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