ext/gd adding imagecompare
| From: | David CARLIER | Date: | Tue, 09 Jul 2024 16:27:35 +0000 |
| Subject: | ext/gd adding imagecompare | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-124306@lists.php.net to get a copy of this message | ||
Hi,
I plan to add imagecompare to the gd extension
<https://github.com/php/php-src/pull/14877>.
No problem so far however a
little discussion of the returned value
https://github.com/php/php-src/pull/14877#issuecomment-2217686123
I personally see a value of a bitmask rather than just boolean which is not
harder to handle than imagetypes
<https://www.php.net/manual/en/function.imagetypes.php>.
Let me know your thoughts.
Cheers.