|
03-05-2004, 11:37 AM | #1 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Generate text images on Linux
Hi. Say you want to generate a GIF image containing some text. Assuming you have the PBM package that may come with Linux, just do the following from shell in the directory where you'd like the image to reside.
Code:
prompt> echo "some text" | pbmtext | pnmcrop | pnmpad -white -l2 -r2 -t2 -b2 > sometext.pnm prompt> convert sometext.pnm sometext.gif prompt> rm sometext.pnm Remember to remove any "word" wrapping in the above commands.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Get text from alt and title images attributes? | djuritz | How-to Forum | 0 | 07-14-2006 06:05 AM |
Help!!! Windows....Linux problems? | NewDigger | Troubleshooting | 3 | 11-20-2004 08:32 AM |
looking for dll on linux while spidering? | Topaz | Troubleshooting | 1 | 10-11-2004 01:42 AM |
Thumbnail images (only in special cases) | renehaentjens | Mod Submissions | 10 | 09-09-2004 01:13 AM |
How do I generate static search pages from keyword list? | inthestars | How-to Forum | 4 | 04-11-2004 12:45 PM |