• 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: Fastest high-quality thumbnail display
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fastest high-quality thumbnail display


  • Subject: Re: Fastest high-quality thumbnail display
  • From: Mike Abdullah <email@hidden>
  • Date: Mon, 25 Jul 2011 23:58:32 +0100

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 -- quality is very good but it is slow (particularly with raw files).

Lanczos is high quality and slow, no way around that.
>
> Should I be using the thumbnail capability of Image I/O? Will it have as good a  quality as CIImage, but be faster?

Yes, you should be using it. It won't be as high quality as CIImage though.
>
> I am comparing the speed of my app (running in Xcode) with the speed of Preview. Preview is much faster ( 2x or 3X). I wonder what they are doing.
>
> Of course the fastest way to display a thumbnail is to use the thumbnail in the file (assuming there is one). But that's the problem, there may not be a thumbnail in the file, in which case you need to create one yourself.

That's exactly what ImageIO offers you; the ability to use embedded thumbnail if present.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

  • Follow-Ups:
    • Re: Fastest high-quality thumbnail display
      • From: James Merkel <email@hidden>
References: 
 >Fastest high-quality thumbnail display (From: James Merkel <email@hidden>)

  • Prev by Date: How do I update re-sort the fetch results associated with an NSFetchedResultsController instance?
  • Next by Date: Re: Does anyone else dislike Xcode 4?
  • Previous by thread: Fastest high-quality thumbnail display
  • Next by thread: Re: Fastest high-quality thumbnail display
  • Index(es):
    • Date
    • Thread