• 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: Create an image Browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Create an image Browser


  • Subject: Re: Create an image Browser
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Thu, 12 Feb 2004 00:15:07 +0100

At 9:22 Uhr -0800 10.02.2004, email@hidden wrote:
iPhoto uses its own custom view, and is obviously very fast, largely it seems, due to some clever tricks with only displaying part of the thumbnail data while scrolling, then waiting for the user to let go of the mouse before the rest of the data is fetched and drawn. I invite members of the iPhoto team to share their secrets with the list. ;-) ;-)

Have you checked out libEpeg yet? It's a JPEG decompression library for which someone on this list recently announced an ObjC wrapper. Basically, it decodes only the first couple of coefficients in the JPEG, which means it can generate small previews quite easily without having to load and scale down the image.

For other image types, I guess the only approach would be to generate previews using QuickTime (QuickTime will attack previews to a file's resource fork) and then displaying the preview during scrolling, and the actual scaled image once scrolling is finished.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Create an image Browser
      • From: "John C. Fox" <email@hidden>
References: 
 >Create an image Browser (From: email@hidden)

  • Prev by Date: Re: Cocoa wizard & gurus, Help!!
  • Next by Date: FW: Cocoa wizard & gurus, Help!!
  • Previous by thread: Create an image Browser
  • Next by thread: Re: Create an image Browser
  • Index(es):
    • Date
    • Thread