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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to