Can it do any special effects to images.. like compressing.. adding a border...?
please help.
Moderator: General Moderators
Code: Select all
<?php
header("Content-type: image/jpeg");
$im = imagecreate(400,30);
$white = imagecolorallocate($im, 255,255,255);
$black = imagecolorallocate($im, 0,0,0);
// Replace path by your own font path
imagettftext($im, 20, 0, 10, 20, $black, "/path/arial.ttf",
"Testing... Omega: Ω");
imagejpeg($im);
imagedestroy($im);
?>nick2 wrote:Could you maybe post an easy example I would understand on how to put text on a picture called test.jpg..
everytime I try I get errors..
Some tips.nick2 wrote:anyway the whole point of this forum is for questions or am I mistaken?