Forum Moderators: coopster
header('Content-Type: image/jpeg');
$im = imagecreatefromjpeg("IMAGE URL FULL WITH [...");...]
$red = imagecolorallocate($im, 255, 255, 255);
$black = imagecolorallocate($im, 255, 255, 255);
$font_file = 'arial.ttf';
imagefttext($im, 20, 0, 25, 25, $red, $font_file, 'WHAT EVER');
imagejpeg($im);
imagedestroy($im);
I AM DOING WITH THIS and after that when i checked the script so its works fine but the image quality is going to low just a bit is there any way to get it same as original image ?
i am doing this with the full image url because i worked with mod rewrite and the images are coming from my sql