php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #28230 [patch]gdfx from gd-2.0.22 and more.
Submitted: 2004-04-30 08:08 UTC Modified: 2006-08-29 01:00 UTC
Votes:3
Avg. Score:3.0 ± 1.6
Reproduced:0 of 1 (0.0%)
From: crosser at hanmail dot net Assigned: pajoye (profile)
Status: No Feedback Package: Feature/Change Request
PHP Version: 4.3.6 OS: Linux
Private report: No CVE-ID: None
 [2004-04-30 08:08 UTC] crosser at hanmail dot net
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. ;)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-30 14:45 UTC] iliaa@php.net
No new features are being added to PHP 4 or 5 at this time. 
 [2006-08-21 11:41 UTC] wkpark at gmail dot com
link of the patch is broken.
 [2006-08-21 11:52 UTC] pajoye@php.net
Set to feedback if he likes to propose it again.

But I doubt it will make it in in a near future, gdfx is a source of troubles right now. It may change in future gd release.
 [2006-08-29 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 23:01:28 2024 UTC