Re: Command line text->gif program?
> "ML" == Marc Lehmann <[EMAIL PROTECTED]> > wrote the following on Thu, 25 Nov 1999 15:35:19 +0100 >> Is there any program (gimp related or not) that accepts some >> text on the command line and writes a gif? ML> imagemagick's convert program. e.g.: ML> convert label:"Hallo, World!" output.gif ML> (there are multitudes of variations, like using -pen and -draw ML> commands, boxes etc..) Thanks greatly to both you and Thierry Michalows. This makes it really easy to add titles or buttons to web pages. Now I have a filter set up so you can say Text("Hello, World") or other python commands in an html file and get the right response. If anyone is interested, you can download the simple python script at: http://www.stanford.edu/~bescoto/epython/ -- Ben Escoto
Re: Command line text->gif program?
On Thu, Nov 25, 1999 at 12:00:26AM -0800, Ben Escoto <[EMAIL PROTECTED]> wrote: > > Is there any program (gimp related or not) that accepts some > text on the command line and writes a gif? imagemagick's convert program. e.g.: convert label:"Hallo, World!" output.gif (there are multitudes of variations, like using -pen and -draw commands, boxes etc..) -- -==- | ==-- _ | ---==---(_)__ __ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] |e| -=/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |
Re: Command line text->gif program?
Try ImageMagick. There is a program called "convert" that does more things that you could imagine doing on graphical dataI suppose you could easily play with it to achieve what you want. Hope this Helps Thierry Michalowski Ben Escoto wrote: > Is there any program (gimp related or not) that accepts some > text on the command line and writes a gif? For my purposes, it would > just have accept the text, font, and size as inputs, and return a gif > that text in black on a transparent background. > > Of course, other people might find useful a program that could > accept the background and foreground color as an argument. A simple > program like this would seem very useful for many web designers. If > there were another program that just made another gif from two gifs > just by layering them on top of one another, most titles and > navigation bars could be done quite easily automatically. > > I've looked at the GIMP documentation and it seems something > like this shouldn't be hard to do. However, at this point I only use > gimp occasionally and, am not familiar enough with the internals to > write scripts for it. > > In general it would surprise me if there isn't something that > already does this. Has anyone heard of one? I am familiar with gFont > (http://www.engelschall.com/sw/gfont/) but this requires TeX available > (pk) fonts while the gimp can use any font available to the X server > including (importantly) truetype fonts. > > Anyway, thanks for any information on this. > > -- > Ben Escoto
Command line text->gif program?
Is there any program (gimp related or not) that accepts some text on the command line and writes a gif? For my purposes, it would just have accept the text, font, and size as inputs, and return a gif that text in black on a transparent background. Of course, other people might find useful a program that could accept the background and foreground color as an argument. A simple program like this would seem very useful for many web designers. If there were another program that just made another gif from two gifs just by layering them on top of one another, most titles and navigation bars could be done quite easily automatically. I've looked at the GIMP documentation and it seems something like this shouldn't be hard to do. However, at this point I only use gimp occasionally and, am not familiar enough with the internals to write scripts for it. In general it would surprise me if there isn't something that already does this. Has anyone heard of one? I am familiar with gFont (http://www.engelschall.com/sw/gfont/) but this requires TeX available (pk) fonts while the gimp can use any font available to the X server including (importantly) truetype fonts. Anyway, thanks for any information on this. -- Ben Escoto