Quickiee: Create Preview Image Files With QuickLook

written November 25 2007 by
Kommen
tagged with
, ,
4 Comments so far. Go, post one!
Previous Thank you so much Apple!
Google.at Participates… Next
Leopard: QuickLook Not For Our Applications

As I wrote here I was looking for a way to use QuickLook to produce preview images of files.
On day later Matt Legend Gemmell luckily wrote a little method to do exactly what I wanted.
I took that as a reason to write my first little Objective-C/Cocoa app: A command line tool, which uses QuickLook to generate preview images of files.

It took me some time to get familiar with the ObjC syntax and I noticed it’s really boring to write ObjC apps with a German keyboard layout because of the heavy use of square brackets. My next notebook will definitely have an English keyboard layout!
I also took advantage of the new Garbage Collection in ObjC 2.0 (yeah, you can throw stones on me!). But I think it’s a nice thing for developers who are not so familiar with ObjC/C/C++ like me.

To cut a long story short, here is the code: http://github.com/kommen/quikiee/
Here is the binary: quickiee.zip (requires Mac OS X 10.5, obviously)

Attention: The code is not tested very well and may blow up your computer! :)

How to use?


./quickiee <srcfile> <destfile> <size> <imageformat>

Comments, suggestions, enhancements etc. to the code are welcome!

4 Comments

Make our day bright and participate!
Permalink to this comment { Samo }
on December 03 2007 (about 11:18 AM)

Cool! I need to have a look at that once I’m at home and actually have time for interesting stuff. :o)

Permalink to this comment { Ryan }
on June 04 2008 (about 19:51 PM)

Curious if when you were writing if you found a way to save each page of a pdf?

Permalink to this comment { tom gleason }
on June 13 2008 (about 03:37 AM)

This sounds great.

Could you post some sample output please?

Permalink to this comment { Florian }
on November 12 2008 (about 10:25 AM)

Masterly ! Works perfect off the rack. Particular thanks for having revealed the code.

Do participate!

Textile (only links and basic formatting) is allowed.
These are not required