<?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

Recommended Answers

All 2 Replies

enter the utf8 code in the form &#8364; codes for Telugu as outlined in this link
actual characters wont work
the interpreter cant read them, its in English
vani shoud(?) suppport Telugu

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.