Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25460 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75714 invoked by uid 1010); 31 Aug 2006 11:44:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 75699 invoked from network); 31 Aug 2006 11:44:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Aug 2006 11:44:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=jared.williams1@ntlworld.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jared.williams1@ntlworld.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ntlworld.com designates 81.103.221.49 as permitted sender) X-PHP-List-Original-Sender: jared.williams1@ntlworld.com X-Host-Fingerprint: 81.103.221.49 mtaout03-winn.ispmail.ntl.com Solaris 8 (1) Received: from [81.103.221.49] ([81.103.221.49:29283] helo=mtaout03-winn.ispmail.ntl.com) by pb1.pair.com (ecelerity 2.1.1.8 r(12602M)) with ESMTP id 6F/98-00880-2BBC6F44 for ; Thu, 31 Aug 2006 07:44:50 -0400 Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com with ESMTP id <20060831114447.VUPW1865.mtaout03-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com>; Thu, 31 Aug 2006 12:44:47 +0100 Received: from win2ks ([82.3.16.111]) by aamtaout01-winn.ispmail.ntl.com with ESMTP id <20060831114447.HDTG644.aamtaout01-winn.ispmail.ntl.com@win2ks>; Thu, 31 Aug 2006 12:44:47 +0100 Reply-To: To: "'Thomas Boutell'" , Date: Thu, 31 Aug 2006 12:45:14 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Thread-Index: AcbMi4WQUxF34dBATPOO9tWrmSeQyAAZezcg Message-ID: <20060831114447.HDTG644.aamtaout01-winn.ispmail.ntl.com@win2ks> Subject: RE: [PHP-DEV] gd development as part of php.net From: jared.williams1@ntlworld.com ("Jared Williams") References: > -----Original Message----- > From: Thomas Boutell [mailto:boutell@boutell.com] > Sent: 31 August 2006 00:17 > To: internals@lists.php.net > Subject: [PHP-DEV] gd development as part of php.net > > Unfortunately there hasn't been any movement on this since I handed > it over to Pierre in April. > > Obviously, since I sat on PHP myself for a really long time, I am not > pointing the finger at Pierre here. I'm still the champion > gd-neglect-ster by a LONG shot. > > However, I'm wondering if anyone else is eager to help him make a > new release of gd happen as part of the PHP project. > > If necessary, I could go looking for a new maintainer again, though > that surely wouldn't be fun and I'd prefer almost anything else. (: > > * * * > > On a related note, I'm wondering why PHP doesn't seem to have any > official relationship with the ImageMagick project - Which offers > an unofficial PHP extension of its own. > > Though gd has been good to me over the years, I'm not going to sit > here and pretend gd has a modern graphics API. It doesn't. gd has a > very 1989 API, full of integer-oriented assumptions and > less-than-smooth implementations of graphics primitives, written > by a guy with no formal background in graphics algorithms (me). > And that's always going to be visible in the quality of its output, > short of a total core rewrite and API redesign. > > The good thing about gd was always the simple API - but a simple > API at the C level doesn't necessarily help anymore when the > end user isn't coding in C anyway. And ImageMagick has a > floating-point, vector-oriented API that can do a whole lot more. > With a coder-friendly "MagickWand" API that gives it simplicity > approaching gd, especially when used from languages like PHP. > > Also, the ImageMagick license appears to be GPL-compatible > and making-money-compatible: > > http://www.imagemagick.org/script/license.php > > So, at the expense of my own site traffic perhaps, why the outdated > gd API and not ImageMagick in the official PHP builds? There is a magickwand extension for PHP. http://www.magickwand.org/download/php/ I was involved in getting the windows builds of it made, until the lead familiarised himself with Win32/VC. The intention was to get it on pecl at some point. But the lead developer has, to my understanding, been too busy. Its quite a massive API. I think there are ~477 functions wrapped an available to be used in PHP. Which obviously is going to create huge load on documentation/bugs etc. Jared