• 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: iPhoto-like scroll view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: iPhoto-like scroll view
      • From: glenn andreas <email@hidden>
References: 
 >Re: iPhoto-like scroll view (From: glenn andreas <email@hidden>)

  • Prev by Date: FIXED: NSTreeController, sorry for the multiple posts!
  • Next by Date: Re: iPhoto-like scroll view
  • Previous by thread: Re: iPhoto-like scroll view
  • Next by thread: Re: iPhoto-like scroll view
  • Index(es):
    • Date
    • Thread