Thread: PHP & GD
View Single Post
Old 01-26-2004, 03:38 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Perhaps try something like the following:
PHP Code:
<?php
  $pic 
"filename.jpg"// jpg filename
  
$font 5// can be 1, 2, 3, 4, or 5
  
$xpos 50// zero is leftmost position
  
$ypos 10// zero to topmost position
  
$qual 30// zero (worst) to 100 (best)
  
$symb "*"// symbol to denote x,y point
  
$im imagecreatefromjpeg($pic);
  
$red imagecolorallocate($im,255,0,0);
  
imagestring($im$font$xpos$ypos$symb$red);
  
imagejpeg($im''$qual);
  
imagedestroy($im);
?>
Also, check here for other image functions.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote