1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00
Files
archived-php-src/ext/gd/tests
Christoph M. Becker c1c6520c4f Make imagebmp_basic.phpt more resilient (GH-17265)
Checking for the exact output of most image formats is brittle; even an
otherwise change to some header field causes the output to change, even
if the image would be visually identical.

Checking for an (MD5) hash is even worse, since if the tests fails, we
have no clue for what reason.

Thus we compare the generated image against an pre-generated PNG, using
a test helper which will output a simple image diff in case of test
failure.
2024-12-25 23:15:45 +01:00
..
2017-07-30 14:43:37 +02:00
2021-08-26 18:44:04 +02:00
2019-05-11 03:22:19 +02:00
2019-05-11 03:22:19 +02:00
2019-04-29 16:29:08 +02:00
2019-05-11 03:22:19 +02:00
2024-12-25 16:27:20 +01:00
2024-12-25 16:27:20 +01:00
2024-01-09 22:01:00 +00:00
2024-07-14 12:46:37 +02:00
2021-07-03 09:41:30 +02:00
2019-06-20 23:40:51 +02:00
2018-09-21 14:12:25 +02:00