Re: Scrolling List of Thumbnails?
Re: Scrolling List of Thumbnails?
- Subject: Re: Scrolling List of Thumbnails?
- From: Jérome Foucher <email@hidden>
- Date: Thu, 17 Jun 2004 14:59:59 +0200
Le 17 juin 04, ` 14:35, Jerry LeVan a icrit :
>
Hi,
>
>
Well, it turns out that I can make a matrix of image cells
>
embedded in a scrollview using IB.
I had to do the same thing some time ago, and I personnaly started out
from the UKDistributedView class written by Uli Kulister.
Check the original code here :
http://www.zathras.de/programming/cocoa_stuff.php
UKDistributedView will not do exactely what you want, but it's a good
starting point for writing your own class.
As for generating thumbnails fast (faster than what NSImage does), I
would recommend having a look at the epeg library (which I've
contributed to) and the Epeg Cocoa framework. This will only work for
JPEG pictures, but it's worth a look.
More on epeg can be found here :
http://www.rasterman.com/code.html
The Epeg Framework is available here (the epeg code is not up-to-date
to my knowledge, as some epeg bugs have been pushed in cvs a few weeks
ago) :
http://www.entropy.ch/viewcvs/viewcvs.cgi/EpegWrapper/
Hope this helps
Jirome
_______________________________________________
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.