Doc #79116 [Opn->Nab]: imagecolorclosesthwb parameters copy/pasta

From: Date: Tue, 14 Jan 2020 21:39:43 +0000
Subject: Doc #79116 [Opn->Nab]: imagecolorclosesthwb parameters copy/pasta
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17202@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79116&edit=1 ID: 79116 Updated by: requinix@php.net Reported by: moo at cowdontwantnospam dot co Summary: imagecolorclosesthwb parameters copy/pasta -Status: Open +Status: Not a bug Type: Documentation Problem -Package: Documentation problem +Package: GD related PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Actually no, they are indeed supposed to be RGB. cf. https://libgd.github.io/manuals/2.2.5/files/gd-c.html#gdImageColorClosestHWB Previous Comments: ------------------------------------------------------------------------ [2020-01-14 20:51:28] moo at cowdontwantnospam dot co Description: ------------ --- From manual page: https://php.net/function.imagecolorclosesthwb --- Based on the name and description, these parameters should be $hue, $white, $blackness or something similar, not RGB. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79116&edit=1

« previous php.doc.bugs (#17202) next »