php-src/ext/gd
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
..
libgd Merge branch 'PHP-8.3' into PHP-8.4 2024-12-25 16:29:06 +01:00
tests Make imagebmp_basic.phpt more resilient (GH-17265) 2024-12-25 23:15:45 +01:00
config.m4 Autotools: Refactor PHP_TEST_BUILD checks (#15798) 2024-09-08 21:05:30 +02:00
config.w32 Factor out SETUP_ZLIB_LIB() (GH-16798) 2024-11-27 18:35:34 +01:00
CREDITS Convert GD Resources to objects 2019-09-30 15:14:02 +02:00
gd.c Merge branch 'PHP-8.4' 2024-12-16 19:46:21 +01:00
gd.stub.php ext/gd: imagerotate removes ignore_transparent argument. 2023-06-19 12:32:08 +01:00
gd_arginfo.h Generated arginfo header files: combine preprocessor conditional blocks (#15736) 2024-09-04 13:04:22 +02:00
gd_compat.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
gd_compat.h cleanup gd build with system libgd - drop need to use libpng with system libgd - drop need to use libjpeg with system libgd - drop need to use libXpm with system libgd - drop need to use libfreetype with system libgd - improve configure comments 2019-07-22 16:14:19 +02:00
php_gd.h Declare ext/gd constants in stubs (#9180) 2022-07-30 15:18:06 +02:00