ext/gd adding imagecompare

From: Date: Tue, 09 Jul 2024 16:27:35 +0000
Subject: ext/gd adding imagecompare
Groups: php.internals 
Request: Send a blank email to [email protected] 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.


Thread (10 messages)

« previous php.internals (#124306) next »