From 776ed98f3bd031b33a01e41519ae48758b63850a Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 30 Jan 2006 14:34:34 +0000 Subject: [PATCH] Fix output type git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@206117 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/image/functions/imageloadfont.xml | 3 ++- reference/image/functions/imagepsloadfont.xml | 6 +++--- reference/image/functions/imagestring.xml | 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/reference/image/functions/imageloadfont.xml b/reference/image/functions/imageloadfont.xml index cb03b7514d..e36ee924df 100644 --- a/reference/image/functions/imageloadfont.xml +++ b/reference/image/functions/imageloadfont.xml @@ -1,5 +1,5 @@ - + @@ -75,6 +75,7 @@ - + @@ -24,7 +24,7 @@ ]]> diff --git a/reference/image/functions/imagestring.xml b/reference/image/functions/imagestring.xml index 4e73a4340d..f210c44441 100644 --- a/reference/image/functions/imagestring.xml +++ b/reference/image/functions/imagestring.xml @@ -1,5 +1,5 @@ - + @@ -42,8 +42,8 @@ $textcolor = imagecolorallocate($im, 0, 0, 255); imagestring($im, 5, 0, 0, "Hello world!", $textcolor); // output the image -header("Content-type: image/jpeg"); -imagejpeg($im); +header("Content-type: image/png"); +imagepng($im); ?> ]]>