Re: Script to create an image from text?
Thank you all. I'll research this a bit more... Amichai On Sun, Feb 6, 2011 at 17:01, Kfir Lavi lavi.k...@gmail.com wrote: Look here for example using convert: http://www.imagemagick.org/script/convert.php Kfir 2011/2/2 Ram-on Agmon agm...@gmail.com You can use 'convert' to add text to an empty image. On Wed, Feb 2, 2011 at 5:01 PM, Constantine Shulyupin co...@linuxdriver.co.il wrote: yet another way: - create svg template - alter it - inkscape --export-png 2011/2/2 Amichai Rotman amic...@iglu.org.il: Hi, 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... I hope I was clear enough Thanks, Amichai. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Constantine Shulyupin http://www.MakeLinux.co.il/ Embedded Linux Systems, Device Drivers, TI DaVinci ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Script to create an image from text?
Look here for example using convert: http://www.imagemagick.org/script/convert.php Kfir 2011/2/2 Ram-on Agmon agm...@gmail.com You can use 'convert' to add text to an empty image. On Wed, Feb 2, 2011 at 5:01 PM, Constantine Shulyupin co...@linuxdriver.co.il wrote: yet another way: - create svg template - alter it - inkscape --export-png 2011/2/2 Amichai Rotman amic...@iglu.org.il: Hi, 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... I hope I was clear enough Thanks, Amichai. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Constantine Shulyupin http://www.MakeLinux.co.il/ Embedded Linux Systems, Device Drivers, TI DaVinci ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Script to create an image from text?
Hi, 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... I hope I was clear enough Thanks, Amichai. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Script to create an image from text?
2011/2/2 Amichai Rotman amic...@iglu.org.il Hi, 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... I hope I was clear enough Take a look on scriptfu (Gimp scripting) Thanks, Amichai. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Script to create an image from text?
2011/2/2 Amichai Rotman amic...@iglu.org.il Hi, 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... I hope I was clear enough Thanks, Amichai. You could write a simple HTML form with an action pointing to a PHP file, and use very basic PHP image writing functions, e.g. http://php.net/imagettftext to put data from $_GET into your image... -- Shimi ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Script to create an image from text?
Make sure that your Web server has Perl, ImageMagick and the CPAN module Image::Magick. Then $image-Annotate() should do what you need. PHP probably has an equivalent module, but I didn't check it. On Wed, 2011-02-02 at 15:39 +0200, Amichai Rotman wrote: Hi, 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... I hope I was clear enough -- Any legal limit to self defense means that there is no right for self defense at all. This is because the aggressors would exploit those legal limits to render their victims totally defenseless. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Script to create an image from text?
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. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Script to create an image from text?
Hi Omer, Amichai, On Wed, Feb 02, 2011 at 04:07:57PM +0200, Omer Zak wrote: Make sure that your Web server has Perl, ImageMagick and the CPAN module Image::Magick. Then $image-Annotate() should do what you need. PHP probably has an equivalent module, but I didn't check it. That would be GD. baruch On Wed, 2011-02-02 at 15:39 +0200, 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... I hope I was clear enough -- ~. .~ Tk Open Systems =}ooO--U--Ooo{= - bar...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Script to create an image from text?
yet another way: - create svg template - alter it - inkscape --export-png 2011/2/2 Amichai Rotman amic...@iglu.org.il: Hi, 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... I hope I was clear enough Thanks, Amichai. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Constantine Shulyupin http://www.MakeLinux.co.il/ Embedded Linux Systems, Device Drivers, TI DaVinci ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Script to create an image from text?
You can use 'convert' to add text to an empty image. On Wed, Feb 2, 2011 at 5:01 PM, Constantine Shulyupin co...@linuxdriver.co.il wrote: yet another way: - create svg template - alter it - inkscape --export-png 2011/2/2 Amichai Rotman amic...@iglu.org.il: Hi, 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... I hope I was clear enough Thanks, Amichai. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Constantine Shulyupin http://www.MakeLinux.co.il/ Embedded Linux Systems, Device Drivers, TI DaVinci ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il