Enable low-bit-depth gray tests in pngvalid

This commit is contained in:
John Bowler 2015-09-25 16:22:59 -07:00
parent 53e537439f
commit a5b993aaed

View File

@ -11115,7 +11115,7 @@ int main(int argc, char **argv)
# ifdef PNG_WRITE_tRNS_SUPPORTED
pm.test_tRNS = 1;
# endif
pm.test_lbg = 0;
pm.test_lbg = PNG_LIBPNG_VER >= 10600;
pm.test_lbg_gamma_threshold = 1;
pm.test_lbg_gamma_transform = PNG_LIBPNG_VER >= 10600;
pm.test_lbg_gamma_sbit = 1;