I had a hack attack yesterday. I converted an old C program of mine
that automatically generated random patterned backgrounds for an X11
desktop, to now generate similar random patterns, but this time save
them in a .bmp file. If you then convert then to .jpg (or .gif or .png)
they can be uploaded and used as your new Twitter background.
The simple Python script that did this is
A big thankyou to Paul McGuire for writing the
bmp.py code that makes this so easy. You can find that
You can see a sample random circle background pattern on my
It's version 0.1 of the code. A quick simple conversion. It needs to
be tidied up and improved. It should also just generate .jpg (or .gif
or .png) files. I need to see if there is a standard Python class trhat
does something like that.
What would be even nicer was if it could automatically change your
Twitter background, but I don't see anything in the Python API for
Twitter that allows anything like that. Pity.
[Technorati Tag: Twitter]
[Technorati Tag: Python]