Jump to content

burn text to images


DeanWhitehouse

Recommended Posts

i think you mean watermarking,

 

<?php
/*
put ONLY this code into a file called image.php
put a image called "myimage.jpg" info the same folder then 
open image.php
*/
$imgname = "myimage.jpg";
$im = imagecreatefromjpeg($imgname);
$tc  = imagecolorallocate($im, 0, 0, 0);
imagestring($im, 1, 5, 5, "Hellow", $tc);

header("Content-Type: image/jpeg");
imagejpeg($im);
?>

Link to comment
https://forums.phpfreaks.com/topic/105665-burn-text-to-images/#findComment-541439
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.