Thumbscrew 1.0b16
The new version is out. It adds SparklePlus support, which will let you auto-update (at intervals, or manually), and if you choose, you can share back some anonymous profiling information (processor type, OS version, &c) so I can better know my user base. There is absolutely no personal information sent back (other than what I already know: you’ve got enough taste to use a Mac).
Also, I’ve finally got my post-processing script support finished. You can script the batch any way you like. Thumbscrew finishes a batch by calling the selected script directly, with one argument, the path to the batch file:
/path/to/script_file /path/to/batch_file
All the scripts live in ~/Application Support/Thumbscrew/Scripts, and all the batches live in ~/Application Support/Thumbscrew/Batches. Thumbscrew ships with a sample script, save_to_desktop.py, that copies the batch file from the batches folder to the Desktop:
#!/usr/bin/python
import sys
import os.path
batch_file_path = sys.argv[-1]
desktop_file_path = os.path.join(os.path.expanduser(u'~/Desktop'),
os.path.split(batch_file_path)[-1])
inp = open(batch_file_path)
contents = inp.read()
inp.close()
outp = open(desktop_file_path, 'w')
outp.write(contents)
outp.close()
Since the script is called directly, the only thing to watch out for is that its executable bit is turned on. The batch file is an XML document with information about the batch:
<thumbscrew_batch name="20070605223040">
<image name="Untitled14">
<version name="original" path="/Users/zbir/Pictures/Thumbscrew/Untitled14.png"/>
<version name="thumbnail" path="/Users/zbir/Sites/images/thumbnails/Untitled14_thumbnail.png"/>
<version name="resized" path="/Users/zbir/Sites/images/photos/Untitled14_resized.png"/>
</image>
</thumbscrew_batch>
Also, when images are pasted into Thumbscrew, it gives the pasted image a name, and stores it in ~/Pictures/Thumbscrew, so if you’re making thumbnails or resized originals that should be living where the original does, it won’t be relegated to an unfriendly /tmp directory.
Last, but not least, I’ve changed the icons a little, from our recent trip to Borneo. The application icon is being worked on, as well, and will show up in a later release.