?php
header(
"Content-type
:
image
/
jpeg")
;
$im
=
imagecreate(350
,
45)
;
$noir
=
imagecolorallocate($im
,
0
,
0
,
0)
;
$Blanc
=
imagecolorallocate($im
,
255
,
255
,
255)
;
$font
=
imagepsloadfont("bchbi.pfb")
;
imagepstext($im
,
"Test
..
.
Ca
marche
!"
,
$font
,
32
,
$white
,
$black
,
32
,
32)
;
imagepsfreefont($font)
;
imagejpeg($im
,
"")
;
imagedestroy
($im)
;
?
|