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); ?> ]]>