Re: Fastest high-quality thumbnail display

2011-07-31 Thread James Merkel
On Jul 31, 2011, at 4:32 AM, Michael Babin wrote: On Jul 30, 2011, at 9:10 PM, James Merkel wrote: I tried ImageKit and it works great. Excellent quality. Thanks for the suggestion, Scott. I didn't have to do much more than change an NSImageView to an IKImageView in InterfaceBuilder and t

Re: Fastest high-quality thumbnail display

2011-07-31 Thread Michael Babin
On Jul 30, 2011, at 9:10 PM, James Merkel wrote: > I tried ImageKit and it works great. Excellent quality. Thanks for the > suggestion, Scott. > I didn't have to do much more than change an NSImageView to an IKImageView in > InterfaceBuilder and the code. > > However, there doesn't appear to b

Re: Fastest high-quality thumbnail display

2011-07-30 Thread James Merkel
I tried ImageKit and it works great. Excellent quality. Thanks for the suggestion, Scott. I didn't have to do much more than change an NSImageView to an IKImageView in InterfaceBuilder and the code. However, there doesn't appear to be an easy way to print a CGImageRef (which you get from a

Re: Fastest high-quality thumbnail display

2011-07-30 Thread James Merkel
Thanks, I'll take a look at IK. I also found an Apple example application called ImageApp. It seems to work fine. No memory leaks. The approach for using CIImage seems to be to draw directly to an NSView rather than going to an NSImageView. Jim Merkel On Jul 29, 2011, at 11:46 PM, Scott

Re: Fastest high-quality thumbnail display

2011-07-29 Thread Scott Anguish
If you want to display many thumbnails (or images in general) why not use the ImageKit? It’s what it was designed for. Check out IK* files. “The IKImageBrowserView class is a view for displaying and browsing a large amount of images and movies efficiently.” On Jul 25, 2011, at 3:04 PM, James

Re: Fastest high-quality thumbnail display

2011-07-26 Thread James Merkel
On Jul 26, 2011, at 7:34 AM, Kyle Sluder wrote: On Jul 26, 2011, at 7:04 AM, James Merkel wrote: Yeah, it looks like I can't use CIImage because of the memory leak. Every time an image is opened, the memory footprint increases by the size of the image. Using CIImage was kind of a cul-de-s

Re: Fastest high-quality thumbnail display

2011-07-26 Thread Kyle Sluder
On Jul 26, 2011, at 7:04 AM, James Merkel wrote: > Yeah, it looks like I can't use CIImage because of the memory leak. > Every time an image is opened, the memory footprint increases by the size of > the image. > Using CIImage was kind of a cul-de-sac. I don't see how this is unexpected behavio

Re: Fastest high-quality thumbnail display

2011-07-26 Thread James Merkel
On Jul 26, 2011, at 1:39 AM, Mike Abdullah wrote: On 26 Jul 2011, at 01:55, James Merkel wrote: Well, I see I have a huge memory leak in CIImage. However, I don't see where my code is in error. Also, according to Instruments Object Allocation, ImageIO is holding this memory. So I guess Co

Re: Fastest high-quality thumbnail display

2011-07-26 Thread Mike Abdullah
On 26 Jul 2011, at 01:55, James Merkel wrote: > Well, I see I have a huge memory leak in CIImage. > However, I don't see where my code is in error. > Also, according to Instruments Object Allocation, ImageIO is holding this > memory. > So I guess Core Image calls IImageIO. Yes, since ImageIO's

Re: Fastest high-quality thumbnail display

2011-07-25 Thread James Merkel
Well, I see I have a huge memory leak in CIImage. However, I don't see where my code is in error. Also, according to Instruments Object Allocation, ImageIO is holding this memory. So I guess Core Image calls IImageIO. I'll have to look at this in more detail. Jim Merkel On Jul 25, 2011, at 3:

Re: Fastest high-quality thumbnail display

2011-07-25 Thread Mike Abdullah
On 25 Jul 2011, at 20:04, James Merkel wrote: > What is the fastest way to generate and display a thumbnail from a digital > camera file? > In the past I used NSImage -- however the quality (with JPEG files) leaves > something to be desired. Now I am using CIImage with Lanczos scale transform

Fastest high-quality thumbnail display

2011-07-25 Thread James Merkel
What is the fastest way to generate and display a thumbnail from a digital camera file? In the past I used NSImage -- however the quality (with JPEG files) leaves something to be desired. Now I am using CIImage with Lanczos scale transform -- quality is very good but it is slow (particularly