← Back to team overview

phatch-dev team mailing list archive

Phatch for Geeks

 

Hi,

I've just added the 'geek' action which allows you to hook any
external command in Phatch. This opens the doors of heaven. I can't
foresee the whole potential. It is basically the equivalent of a
terminal for a desktop environment. It comes with two examples. It is
really powerful, the geek action can be used to prototype any external
application (blender, imagemagick, ...) as a plugin for Phatch. As a
demonstration, I've wrapped some useful Imagemagick scripts in an
Imagemagick action. You can find these actions under the plugins
category.

It is even possible to branch to an external process. If there is no
file_out.* (eg file_out.tif) in the command line, phatch will leave
the image unaltered. Otherwise it continues with the file_out.* image
So you can also use it for example to do an ftp upload. (But of course
built in support for ftp would be better.) The best format for file_in
is tif and for file_out is png.

Juho, you can use the Imagemagick action as a base for
exiftran/jpegtran and blender action. You can just do
photo.call(command). I'd love to have a software box action with
Blender. That should be very easy to do and metadata can be used for
adding text:
http://images.google.nl/images?hl=nl&q=software+box&um=1&ie=UTF-8&ei=PmY4SrvNIpWsjAeOo9ipDQ&sa=X&oi=image_result_group&resnum=1&ct=title
That would be a good use of blender and we can use the software box
for our website ;-)

Have fun with it,

Stani

-- 
Phatch Photo Batch Processor - http://photobatch.stani.be
SPE Python IDE - http://pythonide.stani.be



Follow ups