Re: ext/gd: Deprecate png2wbmp() and jpeg2wbmp()
| From: | Kalle Sommer Nielsen | Date: | Thu, 13 Oct 2016 20:28:59 +0000 |
| Subject: | Re: ext/gd: Deprecate png2wbmp() and jpeg2wbmp() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-96352@lists.php.net to get a copy of this message | ||
Hi
2016-10-13 19:03 GMT+02:00 Christoph M. Becker <cmbecker69@gmx.de>:
> 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
> <https://bugs.php.net/bug.php?id=73317>).
> Furthermore, WBMP supposedly isn't really important nowadays.
+1, I even think that 7.3 should have them removed. Besides png2wbmp()
and jpeg2wbmp(), I'd like for you to add image2wbmp() to that list
too.
--
regards,
Kalle Sommer Nielsen
kalle@php.net