Wed, 06 Jun 2007
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.
Posted by Bioguy at Thu Jun 7 02:56:08 2007
usually from a digital camera
- scale to a fixed maximum size
- rotate some images (chosen manually or based on EXIF info)
- sharpen, possibly
- edit file name (remove some text, add other text)
- save file in chosen directory
Your program does some of this, but doesn't seem to work right.
I fed it 3008x2000 images, told it "no rotate, no border, 100 pixels max size"...and every output image has a white border on the left edge.
If not for that bug, it'd do most of my job...
Any thoughts on why this is happening?
-ted
Posted by ted crane at Mon Jul 9 02:56:26 2007