[devel] Revised pngvalid.c 16-to-8-big conversion tests

This commit is contained in:
Glenn Randers-Pehrson
2010-08-27 14:21:21 -05:00
parent 9c69091c9d
commit fded04fbf6
5 changed files with 28 additions and 8 deletions

View File

@@ -291,6 +291,10 @@ setting USER_CHUNK_MALLOC_MAX default 0
option READ enables READ_INTERLACING
# Disabling READ_16BIT does not disable reading 16-bit PNG files, but it
# forces them to be chopped down to 8-bit, and disables any 16-bit
# processing after that has happened.
option READ_16BIT requires READ enables 16BIT
option READ_QUANTIZE requires READ
@@ -345,6 +349,8 @@ option READ_16_TO_8_ACCURATE_SCALE requires READ disabled
option WRITE
# Disabling WRITE_16BIT prevents 16-bit PNG files from being
# generated.
option WRITE_16BIT requires WRITE enables 16BIT
option WRITE_TRANSFORMS requires WRITE