Have std/tga decode non-color-mapped images

Updates #67
This commit is contained in:
Nigel Tao committed 2022-01-15 11:37:45 +11:00
1 parent 5aa7a9339f
commit 2c10bc32b0
5 files changed
+230 -38

No files matched your search

+3 -3
View File
@@ -1,6 +1,6 @@
# Generated by script/print-nia-checksums.sh
3da6493d test/3pdata/tgasuite/ubw8.tga
9fbe866a test/3pdata/tgasuite/ubw8.tga
3da6493d test/3pdata/tgasuite/ucm8.tga
3da6493d test/3pdata/tgasuite/utc16.tga
3da6493d test/3pdata/tgasuite/utc24.tga
3da6493d test/3pdata/tgasuite/utc32.tga
5d75ef41 test/3pdata/tgasuite/utc24.tga
79781cfb test/3pdata/tgasuite/utc32.tga
+1 -1
View File
@@ -79,7 +79,7 @@ test_wuffs_tga_decode_interface() {
WUFFS_INITIALIZE__LEAVE_INTERNAL_BUFFERS_UNINITIALIZED));
return do_test__wuffs_base__image_decoder(
wuffs_tga__decoder__upcast_as__wuffs_base__image_decoder(&dec),
"test/data/bricks-color.tga", 0, SIZE_MAX, 160, 120, 0xFFFF007F);
"test/data/bricks-color.tga", 0, SIZE_MAX, 160, 120, 0xFF022460);
}
// ---------------- Mimic Tests
+2 -2
View File
@@ -26,7 +26,7 @@ e08a7cc8 test/data/artificial-png/exif.png
e08a7cc8 test/data/artificial-png/key-value-pairs.png
076cb375 test/data/bricks-color.bmp
076cb375 test/data/bricks-color.png
0a9502ff test/data/bricks-color.tga
076cb375 test/data/bricks-color.tga
f36c2e80 test/data/bricks-dither.bmp
f36c2e80 test/data/bricks-dither.gif
f36c2e80 test/data/bricks-dither.no-ancillary.png
@@ -35,7 +35,7 @@ c2bce675 test/data/bricks-gray.bmp
c2bce675 test/data/bricks-gray.gif
c2bce675 test/data/bricks-gray.no-ancillary.png
c2bce675 test/data/bricks-gray.png
0a9502ff test/data/bricks-gray.tga
0319cb08 test/data/bricks-gray.tga
7aebfe6c test/data/bricks-nodither.bmp
7aebfe6c test/data/bricks-nodither.gif
7aebfe6c test/data/bricks-nodither.png