Do you have a question? Post it now! No Registration Necessary. Now with pictures!
October 1, 2008, 12:13 am
rate this thread
I am trying to overlay text in a ttf font over an already existing
image. From what I can see it should work but I'm not sure what the
Header ("Content-type: image/png");
putenv('GDFONTPATH=' . realpath('.'));
$font = 'j';
$img_handle = imageCreateFromPNG("stupid.png");
$color = ImageColorAllocate ($img_handle, 100, 100, 100);
$wrong = $_GET['wrong'];
$right = $_GET['right'];
imagettftext($img_handle, 3, 10, 49, $font, $color, "$wrong is
It says the image can not be displayed because it contains errors.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum