QuickLook plug-in for zip files
To get used to the QuickLook plug-in architecture I did what everyone seems to be doing. Namely write a zip inspection module. The mysterious and prolific Hetima has already created one which is available here.
So anyway my plugin uses Hetima’s unzip framework to inspect the contents of any given zip/cbz, ignoring everything but images, sorts those images by name and draws the first to the thumbnail context. Nice and simple. The preview code is almost as simple except it iterates through up to 20 image and creates a multi page preview.
One caveat with this implementation is that the image name sorting slows down thumbnail generation noticeably. If that annoys you feel free to tweak it. I might even add some prefs that can be changed via the command line in the next version.
Download the source code.
Edit:I did a quick edit to my QuickLook plug-in to make it work with cbz files exclusively. This should prevent conflicts with other zip QuickLook plug-ins.Download
Filed by arau at November 12th, 2007 under Simple Comic, cocoa
I would love to see this plugin actively developed and add support for CBR files. This is one of those dream pieces of software I know I won’t be able to live without. Thanks!
Comment by Alec Peden — November 22, 2007 @ 1:12 am