Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96342 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87684 invoked from network); 13 Oct 2016 17:02:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2016 17:02:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.15.19 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.15.19 mout.gmx.net Received: from [212.227.15.19] ([212.227.15.19:64801] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/AF-41968-C2EBFF75 for ; Thu, 13 Oct 2016 13:02:37 -0400 Received: from [192.168.2.103] ([217.82.231.87]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Md3li-1bceJn1OSY-00ICgD for ; Thu, 13 Oct 2016 19:02:33 +0200 X-Mozilla-News-Host: news://news.php.net:119 To: PHP internals Message-ID: <64abfe29-6d8d-c186-6e52-47fa9309bdb6@gmx.de> Date: Thu, 13 Oct 2016 19:03:09 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:wtiZ07Uj2qQXtb6uRb+5tmnHLoCAN36UunC9/N/J0qha1RUMX2X UIJufUQD3/hZNJvLSoRWU7Y8xc0U2ERy1qiLPJZQuA3atGzhAJ4EvkliAIZwV+w95/6baKa 9ZOBLkSwdhfE9NI/lp2voMoUlDhLupcqhzDfvKHtgmwlnI1xMDFQwDFokNHCEbtQs8REiea efoxK5OpdIL6VqWWtQNew== X-UI-Out-Filterresults: notjunk:1;V01:K0:v/HanJ6IOLM=:CdDeEQGczbvVuOXQfu7G9q BrdRAVdNpfSNDKPAfUvrbzZDjhhVKfXkxqYq9BsjshNGhCTc3eYxHTKstaRNBFHhjeXD9GlLr pjQ+hF1lHDvTHQu+m+lWUx4xC0GTNGPRqhpFhZawY9v6PYE8AcR4Q61HgIC7MO+d+VAVSlbeo 2UKm+brCqBZOW9NLsBZq0+v8+pJs4xRYL+AVnfR/38hIaK5B/WarqAn2afG2c2o0dOc2IDfwU cJil6t3How16DLy0l21Iko4xg+q69m3iu9l6FroyObwam5YlUfzpYtsUqbfQHp4GAa+N5MESh 1+HSrKJSQhL7vPdkgKgaKUsslhaLap/pTTBkor3ndd/b3sxpGH45WDSjTNzUqhsCo66PBVwhX I6bab6lvsZhR0fPuhqy06XBT8THUOQryOmepH7MIXNjHbC20hVkM6JsDsCu1MU9rY8xl4yKPz RIx0N+vI2nL5VExvl9Onykjzh1+Ntd70+x+6nCAFCaSe2kBRvwDm8PnphHdhBeWbsppnG8FF7 q3OzjyFmtnJPFHy4dfNRjrR4L1g9LorK2oZarSpCckNBP1KrlhppZOe5sbd5BGN3JChS1P6gu oSyEpssGAVNxA9UectUVs1Mm7cHYbC0vXSPsN4CfJRAlUjZESEztPp2dtahYN/5sI396EhrzI 9Tx2S3XaYbkw4LTh2xF32rYW1Gl2IM/pixPlreb5x/rFCxkFKsj5TAhvHvmzFSpC8G/zqaX8W D2ScEtKKvAD4iQcn80YJ4FcfY4ncIfh942HPYQ5XNNw7lo1IVZv6D37UpQbZSnJ7F4MfRmJtM c3O4O8B Subject: ext/gd: Deprecate png2wbmp() and jpeg2wbmp() From: cmbecker69@gmx.de ("Christoph M. Becker") Hi! I suggest to deprecate png2wbmp() and jpeg2wbmp() as of PHP 7.2 and to remove the functions as of PHP 8.0. Both functions are very special for ext/gd; there are no other direct conversion functions, and even their names do not start with "image" like all other ext/gd functions, except gd_info(). Implementing a fallback in userland would be trivial (besides an issue with image2wbmp(), see ). Furthermore, WBMP supposedly isn't really important nowadays. The benefit would be less code and documentation to maintain, and a cleaner interface. Thoughts? -- Christoph M. Becker