• 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: Is QuickLook implemented upon CGImage or CGImageSource under the hood?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is QuickLook implemented upon CGImage or CGImageSource under the hood?


  • Subject: Re: Is QuickLook implemented upon CGImage or CGImageSource under the hood?
  • From: Mike Abdullah <email@hidden>
  • Date: Fri, 07 Sep 2012 12:09:57 +0100

Your question in the subject makes little sense. CGImageSource is a means to create CGImages. Quick Look likely uses both therefore.

Ultimately, you need to test different image loading routes to see which suits your needs.

CGImageSourceCreateImageAtIndex
Generates full-size images as fast as it can

QLThumbnailImageCreate
Generates thumbnails
Might have the thumbnail already cached for speed
Is going to spend a little time in cross-process communication
Logs warnings if used on the main thread in my experience
Can handle any file type, not just images

CGImageSourceCreateThumbnailAtIndex
Generates thumbnails
Very fast

On 7 Sep 2012, at 10:21, Oleg Krupnov <email@hidden> wrote:

> And what is the fastest method for image loading,
> QLThumbnailImageCreate or CGImageSourceCreateImageAtIndex?
>
> Thanks!
> _______________________________________________
>
> 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

_______________________________________________

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: Is QuickLook implemented upon CGImage or CGImageSource under the hood?
      • From: Oleg Krupnov <email@hidden>
References: 
 >Is QuickLook implemented upon CGImage or CGImageSource under the hood? (From: Oleg Krupnov <email@hidden>)

  • Prev by Date: Re: Advice for rotating content in a window so it doesn't get clipped
  • Next by Date: Re: Is QuickLook implemented upon CGImage or CGImageSource under the hood?
  • Previous by thread: Is QuickLook implemented upon CGImage or CGImageSource under the hood?
  • Next by thread: Re: Is QuickLook implemented upon CGImage or CGImageSource under the hood?
  • Index(es):
    • Date
    • Thread