What to do with image2wbmp()?

From: Date: Thu, 05 Apr 2018 12:04:03 +0000
Subject: What to do with image2wbmp()?
Groups: php.internals 
Request: Send a blank email to internals+get-102025@lists.php.net to get a copy of this message
Hi everybody! <https://bugs.php.net/73317> is still unresolved, and I'm not sure how to resolve it. TL;DR: the $threshold parameter of image2wbmp() is supposed to specify a *brightness threshold* for the required black and white conversion of the image. However, as of PHP 5.0.0 it is actually interpreted as the *foreground color*; all other colors are treated as background. This makes image2wbmp() basically identical to imagewbmp(). Any suggestions on how to proceed here? -- Christoph M. Becker

« previous php.internals (#102025) next »