PHP Curve Text using GD Library

I need something like below, with the ability to curve text on an arc or a circle.


$im = imagecreate (300, 300);

imagecolorallocate ($im, 0, 0, 0);


$cx = "150";

$cy = "150";

$radius = "40";

$textRadius = "20";

$fillPortion = "0.4";

$font = "/home/local/fonts/arial.ttf";

$fontsize = "20";

$top = "Hello";

$bottom = "Its ME";

$fgcolor = imagecolorallocate ($im, 255, 255, 255);

#circle text

imagestringftcircle($im, $cx, $cy, $radius, $textRadius, $fillPortion, $font, $fontsize, $top, $bottom, $fgcolor);

#Output Image




This code no longer works as php/gd no longer have the imagestringcircle. Although I have the source code for the orginal patch by Boutell.

Skills: PHP

See more: text curve, php curve, php imagestringftcircle, php curve text, arc text library, php library curve text, php font curve, php circle text, library text curve, library arc text, php curve library, curve text library, php text curve image library, text arc library, curve text using library, library php arc text, curve text using php, library curved text, create image php text circle, php create curved text, php write text curve, library curve text, php library arc text, curve php, php curve ttf

About the Employer:
( 66 reviews ) Royal Borough of Greenwich, Isle of Man

Project ID: #210608

2 freelancers are bidding on average $90 for this job


I can do this quickly.

$100 USD in 2 days
(3 Reviews)

Hi, i can do this job.

$80 USD in 1 day
(0 Reviews)