NSImage category for generating QuickLook preview

Tags: NSImage, QuickLook, category

intui — 2007/12/15

A category on NSImage allowing you to get an image containing a Quick Look preview of the file at a given path. You can specify the size, and whether the preview should be rendered as an icon (i.e. with a document border, drop-shadow, page-curl and file type/extension label superimposed). If Quick Look can’t generate a preview for the specified file, you’ll be given the file’s Finder icon instead (which is how the Quick Look panel itself behaves in Leopard).



Add a new comment or fragment

Fields marked with * are mandatory.


User Name

Fragment (zip files only)

Mac OS X Version

License

Screenshot

Comment * Help

Password (if you plan to edit this entry later)