Re: Create an image Browser
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.