Image output (Newb question)
| From: | Fidencio Monroy | Date: | Fri, 02 Apr 2004 09:55:19 +0000 |
| Subject: | Image output (Newb question) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182110@lists.php.net to get a copy of this message | ||
Hi, I need to display some PNG pictures in a script; from help I got
$im = imagecreatefrompng("images/map.png");
imagepng($im);
It outputs the binary data as a string, kind of trash; what do I need to set
to tell the browser how to interpret it?
Thanks.
Fidencio Monroy.