On Sat, Jun 23, 2001 at 04:50:48PM -0700, Todd Cary wrote:
I have created a barcode as an image stream ($im). Now, I want to
output it in HTML to a particular row and column on a form. Do I have
to save it as a file so that I can use the routine img src=xx or is
there a way to directly output the stream?
img src=script_that_outputs_barcode_image.php
Make sure to send a Content-type header before sending the image data:
Header('Content-type: image/png');
ImagePNG($im);
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]