Script to create an image from text?

Script to create an image from text?

geoffrey mendelson geoffreymendelson at gmail.com
Wed Feb 2 16:12:23 IST 2011


On Feb 2, 2011, at 3:39 PM, Amichai Rotman wrote:
>
> I am looking for a script to be used at a web site that will accept  
> certain details as input (say: Name, Phone, etc.) and then convert  
> it to a jpeg image file that will include a template (say: A diploma  
> graphic) and the text entered incorporated...
>

Probably the hardest way (but the one with the best results) would be  
to create a postscript file and print it with ghostscript. You can  
have it output as a jpeg, PDF file, or a native print file if you want  
it.

If you want to produce one to start with, you can use almost any  
program and create a postscript print file, then use it as a template.  
The file will consist of headers, instructions, clear text, and the  
graphics file. You can easily split it into three parts, everything  
before the text and everything after, and just concatenate them with  
the new text in the middle.

Geoff.

-- 
Geoffrey S. Mendelson,  N3OWJ/4X1GM
Those who cannot remember the past are condemned to misquote it.











More information about the Linux-il mailing list