diddle2gfx

diddle2gfx is a program used for converting diddle databases into a set of images and an html index page to display them.

Requirements

Installation

Download diddle2gfx.py and put it in your favourite place for storing programs (~/local/bin, /usr/local/bin, c:\diddle2gfx).

Make sure the Pyrite package is in your python path.

Make sure convert is in your path.

Usage


diddle2gfx.py [options] [filenames]

[filenames]      Input filename - defaults to DiddleIDB.pdb

Options:
-i [filename]    Create an index file in filename, defaults to index.html
-p [prefix]      Prefix value for images with no use for a name, defaults to
                 diddle
-f, --fgcolour colour description
-b, --bgcolour colour description
-t, --type (BMP|GIF|PNG) Format to put output in - defaults to PNG
-h, --help       

Examples

Examples can (or will be shortly) found in my diddle gallery.

Troubleshooting

Well it works for me ;). If you have problems email me at benno@benno.id.au and let me know what the problem is and I'll see if I can help you.

Hacking

Please hack around with this to you hearts desire. It is fairly easy to read the code. If you have any contributions or patches please send them to me at benno@benno.id.au.