Introduction
After I wrote Shanty I wanted a version more optimised for low resolution output, i.e. bitmaps. Fruit is pretty much this, the major difference to Shanty is the output format (PNG over PS) and instead of having one colour per letter, this works on one pixel per colour. Personally, I think this makes pretty natty desktop images.
How to use
Download fruit.txt, rename to fruit.pl and run with the command:
perl fruit.pl textfile inputimagefile outputimagefile [red,green,blue]
textfile is the name a file containing the text to make the image out of, inputimagefile is the name of the image file to use as a source (PNG only) and outputimagefile is the name of the outputted PNG file. The fourth argument is optional and can be used set the background colour of the image in red, green and blue format (0 to 255), if omitted black is used.
You'll need to have Perl installed, along with the GD module.
Examples
From my traditional bunny cartoon I've made a 1024x768 desktop style backdrop, in both PNG (160Kb) and Windows ready BMP (355Kb) formats. There is also a close-up preview.
