ext/gd: Deprecate png2wbmp() and jpeg2wbmp()

From: Date: Thu, 13 Oct 2016 17:03:09 +0000
Subject: ext/gd: Deprecate png2wbmp() and jpeg2wbmp()
Groups: php.internals 
Request: Send a blank email to internals+get-96342@lists.php.net to get a copy of this message
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. The benefit would be less code and documentation to maintain, and a cleaner interface. Thoughts? -- Christoph M. Becker

« previous php.internals (#96342) next »