Cancelled

PHP Curve Text using GD Library

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

<?php

$im = imagecreate (300, 300);

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

#variables

$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

imagepng($im);

imagedestroy($im);

?>

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 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, text arc library, curve text using library, library php arc text, curve text using php, library curved text, php create curved text, php write text curve, library curve text, php library arc text, curve php, php curve ttf, curve text, php text curve, php curves

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

jitendraag

I can do this quickly.

$100 USD in 2 days
(3 Reviews)
2.2
crioto

Hi, i can do this job.

$80 USD in 1 day
(0 Reviews)
0.0