From: crosser at hanmail dot net
Operating system: Linux
PHP version: 4.3.6
PHP Bug Type: GD related
Bug description: [patch]gdfx from gd-2.0.22 and more.
Description:
------------
* imagearc()
algorithm change : triangle loop -> one polygon
* truecolor(), truecoloralpha()
add to php function
* imagefttext()
add 'charspacing'
imagefttext($im, size, angle, x, y, col, font, text,
array('linespacing'=>1.5, 'charspacing'=>.9));
----gdfx----
* imagesharpen();
like photoshop filter 'sharpen'
imagesharpen($im, decimal)
* imagesquaretocircle();
original image must square.
$im = imagecreatefrompng('origin.png'); // ex:400x400
$oim = imagesquaretocircle($im, 200); // (radius) output : 400x400
circleimage
* imagefttextcircle()
text draw
imagefttextcircle($im, centerX, centerY, radius, textradius, fillPortion,
fontFilePath, fontsize, 'toptext', 'bottomtext', color);
Reproduce code:
---------------
http://my.netian.com/~crosser/files/php-4.3.6_bundledgd+charspace_polyarc_+gdfx.patch.bz2
this is patch file. ;)
--
Edit bug report at http://bugs.php.net/?id=28230&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28230&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28230&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28230&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28230&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28230&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28230&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28230&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28230&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28230&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28230&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28230&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28230&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28230&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28230&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28230&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28230&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28230&r=float