<?php
// 'watermark' in the upper left of an image 
// an example used for a site question..
$my_text = 'watermark';

// open image and lay white text on it..
$img = imagecreatefromjpeg ('example.jpg');
$white = imagecolorallocate($img, 255, 255, 255); // white
imagestring($img, 4, 6, 3, $my_text, $white); // size 4 built-in font

// send the image
header("Content-type: image/jpeg");
imagejpeg($img);
imagedestroy($img);
?>
back to the source menu
download • test

Welcome to autoconfig.corz.org!

I'm always messing around with the back-end.. See a bug? Wait a minute and try again. Still see a bug? Mail Me!