Dynamic Button Generation
This is a two part product, it consists of an Image Factory product,
which caches the generated images, and a The README file contains the example code from the ZButton Demo page, but, you'll have to fetch the template I used (the URL is in the README). This product REQUIRES PIL, it's tested with 1.1.1. you also need jpeg support (paletted image support in PIL really sucks) Consequently the following things that I'd really like to have are missing;
If someone motivates me enough (pays me to), I might be convinced to create a write filter for PIL to write out transparent PNG files. If one appears in PIL that doesn't have absolutely crap palette reduction, its pretty simple to fix Buttons to use it, and transparent backgrounds will be available. PyFT doesn't support the latest FreeType libraray that comes with XFree-4, and I wasn't going to destroy my workstation after spending eons getting the way I like it, just for buttons d8) If a later version of PyFT comes out, I'll look at using True Type fonts. This is a large product, because it contains all of the 75dpi X fonts on my system, these fonts are unencumbered, and have been pre-converted to work with PIL. Once you've installed an Image Factory somewhere in your tree. All arguments to
|
|
Available Releases
Version | Maturity | Platform | Released |
---|---|---|---|
0.0.1 | Stable | 2001-09-25 11:55:11 | |
ZButtons-0_0_1.tgz (15 K) | All | ||
0.0.0 | Development | 2001-04-10 01:08:46 | |
ZButtons-0_0_0.tgz (649 K) | All |