[php-src] PR #17265: Make imagebmp_basic.phpt more resilient

From: Date: Wed, 25 Dec 2024 16:01:04 +0000
Subject: [php-src] PR #17265: Make imagebmp_basic.phpt more resilient
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-30111@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/17265 Author: cmb69 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.

« previous php.git-pulls (#30111) next »