[PHP] textimage

2004-01-30 Thread Maciek Hofstede
Hey, I have one problem, i can't use 'text mode' exp: echo blah; end 'image function'? exp: imagepng($rys); Any idea? -- Maciek Hofstede PGP: http://www.demon.pl/max/max.pgp pgp0.pgp Description: PGP signature

Re: [PHP] textimage

2004-01-30 Thread John W. Holmes
From: Maciek Hofstede [EMAIL PROTECTED] I have one problem, i can't use 'text mode' exp: echo blah; end 'image function'? exp: imagepng($rys); Any idea? I've had my coffee now and I'm still confused. What are you trying to do? I'm going to try more coffee. ---John Holmes... --

Re: [PHP] textimage

2004-01-30 Thread Ajai Khattri
On Fri, 30 Jan 2004, Maciek Hofstede wrote: I have one problem, i can't use 'text mode' exp: echo blah; end 'image function'? exp: imagepng($rys); You have to use the font rendering functions to put text into an image. I have used imagettftext() to do this. See:

Re: [PHP] textimage

2004-01-30 Thread Maciek Hofstede
On Fri, 30 January 2004 at 11:53:14 -0500, John W. Holmes wrote: From: Maciek Hofstede [EMAIL PROTECTED] I have one problem, i can't use 'text mode' exp: echo blah; end 'image function'? exp: imagepng($rys); Any idea? I've had my coffee now and I'm still confused.

Re: [PHP] textimage

2004-01-30 Thread Ajai Khattri
On Fri, 30 Jan 2004, Maciek Hofstede wrote: i'm writing a host monitor. image it's diagram generate from mysql, if i use imagestring or imagettftext web is too big, there is about 150 - 170 hosts, and i have generate image and put html descriptions: image host alive: ble ble ble ble ble

Re: [PHP] textimage

2004-01-30 Thread Raditha Dissanayake
Hi, Sounds to me like you could be killing your server with so many images being dynamically generated. How about keeping a set of pre generated images and use your php script to embed them into html (depending on whether the server is up or down). You can for example create a large image in

[PHP] TextImage

2003-03-08 Thread Christopher Smith
Greetings, I've recently searched newsgroup archives on how to convert text into an image. However, I cannot seem to find a clear example on how to create the image dimensions based on the size of a textfile and then once I create the initial image how to paint the text on the image based on

Re: [PHP] TextImage

2003-03-08 Thread David Rice
On Saturday, March 8, 2003, at 08:49 AM, Christopher Smith wrote: Greetings, I've recently searched newsgroup archives on how to convert text into an image. Another good place to get start-up information, assuming that GD is available on your setup, is the manual: