Re: Best format and method for very fast CGImage resizing
Re: Best format and method for very fast CGImage resizing
- Subject: Re: Best format and method for very fast CGImage resizing
- From: "douglas a. welton" <email@hidden>
- Date: Mon, 23 Apr 2007 10:09:21 -0400
Ken,
Did you check out the MyPhoto sample code at the Apple web site? If
I recall correctly, the example was a good demonstration of what and
where to draw when working with a collection of images.
later,
douglas
On Apr 22, 2007, at 4:07 PM, Ken Tozier wrote:
Hi
I have some code that generates page thumbnails and presents a grid
of these thumbnails that I want to be live-resizable exactly like
the thumbnails in iPhoto. I have the grid and image generating code
worked out but just need to know the fastest possible way to redraw
these images.
As it stands now, I create the thumbnails as a CGImages inside a
CGUtilCreateBitmapContext. Should I convert them to CIImages?
NSImages? From there, what would be faster: An affine transform in
the draw method? Or a CIImage transform?
I have no idea what method produces the fastest resizes so any help
greatly appreciated.
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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