Jump to content

imagettftext


zontrakulla

Recommended Posts

Hey guys,

I have this code

<?php 
header('Content-type: image/png');
$im = imagecreatefrompng ("picture.png"); 
$font = 'times.ttf'; 
$size[1] = 8; 
$word = "blah"; 
imagettftext($im, $size[1], 0, 35, 85, $color, $font, $word); 
imagepng($im); 
imagedestroy($im); 
?>

It prints the word on the image, however i want something like this with borders

avaml4.jpg

 

How can i do borders?

 

Thanks for your help.

Link to comment
https://forums.phpfreaks.com/topic/146576-imagettftext/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.