In Progress

PHP GD Curve Text

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: php curve, php curve text, php text curve, curve php, php curved text, curve text php, text arc php, php text arc, php arc text, text curve, php curve image, php text circle, text curve php, curved text php, php image curve, imagestringcircle, text php, free curved text creator, curve text, curve text creator, php curves, arc text php, php font curve, text php curve, circle text image php

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

Project ID: #211000