Newsgroups: php.internals,php.qa Path: news.php.net Xref: news.php.net php.internals:94120 php.qa:67732 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21935 invoked from network); 19 Jun 2016 13:45:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jun 2016 13:45:16 -0000 Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.17.22 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.17.22 mout.gmx.net Received: from [212.227.17.22] ([212.227.17.22:54478] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 47/CA-18862-AE1A6675 for ; Sun, 19 Jun 2016 09:45:15 -0400 Received: from [192.168.2.102] ([217.82.228.97]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MOkQc-1bHOzY1m9m-00641u; Sun, 19 Jun 2016 15:45:10 +0200 To: Pierre Joye References: <9f856dde-ae99-99fa-14b8-0e0fad004b9c@gmx.de> Cc: PHP internals , PHP Quality Assurance Team Mailing List Message-ID: Date: Sun, 19 Jun 2016 15:45:34 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:uiBKxKHqoExvR1KK3vdOrAYlXsJAY2ZYAPEp53xML9LS8rXH5YP j3GXbheh4b5zlYppP6yIEBs7Q6Tb8ckTDjO1MlTf+KyNRTX9b79+1H2l2xlNWdxNblgZRVO wmCOArYHmYtLqjfbArPc+EUDzXoQao04uSlGuuQaGawtVQ86EXpg0Rysd6v5Hn/8mfMgkDb Rb7GteD+HLr5FlHpGsE6w== X-UI-Out-Filterresults: notjunk:1;V01:K0:YmqP9NrjhBU=:0wCKHFQK+uRuFdHzXRUAyy 1X8F6tsgyaMmCHbbPFijBC+pUss+JfZQSVpEXMVnxIFQE5hQzUUHOeZXpybEyr1wv2u8XYZ4t OeJU4Is/mDWiMje0SUeG3KBleAUDdcpPkY8nG5682fwsshCbdUeciwhNGV2cX2Ci1eKdBbpt3 DFlZg1BmsGho8h5QSOY0nrzFcBmpj0x7dfYEE/Qm8w4LTF3PTK9QFdsQwQiHN4jNf4ZpPnALD 1NgW52U/kTaDf7zngOGZ1Mo0zn4uEbYIrcCpg5YnPtmhm+3whl8DPhZgKNiS3WfFMImVX1UVh lFa5A2x1zbmmioSz/Iluwkm7KnlBnMSTaH9n6gvtfT5AbBxAwKaWfOAa6WYSIacG/ejq/X/Sz lLDQy25DT+qcvH3pn9C5QTb25NUoJ3iJxAVWV/MPPi35V4Vc+2ezyrVQmnz8rdM+Xib6aSw95 ktJA+n+jqnXtLXkStnmisW0AAfavw2PqPDO2nPxrME/FoU3HmVl5xu8jOJQGJu0+lcmASBJed Ukd5n5zhgoHVigDFyoxAolFg5p2QgRg+Iyvs0+KN3qfCBYQBCbw4e4rrGowpepsd0jzfdpo2t vWIS8/t6sYp5IQj2RpUcg0jS9J1SZ/xUIY+5VKU3WYM4KN3uz5I2u1BbOMRM0Hmloba7uoXCi HQatzkCu/ALlYqm5pCsY5zCatH9lNJo41AsC9d9RsiIehvuDSbzZAPpoVvJwGEADhlWn78fla REhkS0jGpLH4rS0dx6T3etGgyBOTUA6sAvY8qH87a+VWe9cI0atmMqYOyUHdpLbAz3UHzVX2Q zSm6iVK Subject: Re: Improve GD test suite From: cmbecker69@gmx.de (Christoph Becker) On 17.06.2016 at 15:54, Pierre Joye wrote: > The current testing code is under new bsd, so there is no license issue > here. Fine! > I plan to improve the current code to be more useful as well as adding > perceptual diff. My initial idea was to use pdiff. It is under gpl but as > it uses only for the tests suite it is ok. Sadly not for php. Alternatively > the cmd pdiff can be used but it is then slower. That sounds great. :) To clarify: you're talking about , don't you? > In any case we can expose the image diff functions in ext/gd but it will > need some work on the results to be useful in the wild. For now, I have submitted PR #1949 (), because I see the need to get away from the md5() based image verification ASAP, see . > It should also be easy to write a script to port test from c to/from php > to complete both side testing. That would be fantastic! -- Christoph M. Becker