<?php
header("Content-Type: image/jpeg");
$im = imagecreatefromjpeg('000.jpg');
// get the image size
$w = imagesx($im);
$h = imagesy($im);
// place some text (top, left)
imagettftext($im, 60, 0, 300, 100, 0xFFFFFF, 'vani.ttf', 'వాసి');
imageJpeg($im, "001.jpg", 85);
imagepng($im, $save);
imagedestroy($im);
?>
Above i the code what i did? But its not giving proper solution.
Am giving input image as first image
and am getting out put as 2nd image
Ramesh Konda 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.