mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 17:01:35 +01:00
Add std/tga package
This is just a placeholder decoder implementation (and all of the required plumbing) that produces a 1x1 reddish-purple image. Follow-up commits will add flesh to the metaphorical bones. TGA has no magic identifier, so MIME sniffers have to use heuristics. The test/data/cbor-rfc-7049-examples.cbor file (which is CBOR binary data, not a TGA image) is mistakenly sniffed as TGA. The /usr/bin/file program makes the same classification (a false positive). $ file test/data/cbor-rfc-7049-examples.cbor test/data/cbor-rfc-7049-examples.cbor: Targa image data - Map 59395 x 26 x 15 +6169 +6500 - 2-bit alpha - interleave "@\033" Some test/3pdata/tgasuite/*.tga test files, which are invalid TGA images, are also false positives for now. Updates #67
This commit is contained in:
1 parent
db0a5a4f3a
commit
4c09c77bb9
10 files changed
+1280
No files matched your search
@@ -26,6 +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
|
||||
1f87b217 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
|
||||
@@ -34,10 +35,13 @@ 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
|
||||
1f87b217 test/data/bricks-gray.tga
|
||||
7aebfe6c test/data/bricks-nodither.bmp
|
||||
7aebfe6c test/data/bricks-nodither.gif
|
||||
7aebfe6c test/data/bricks-nodither.png
|
||||
1f87b217 test/data/bricks-nodither.tga
|
||||
ae2e547d test/data/bricks-nodither.wbmp
|
||||
1f87b217 test/data/cbor-rfc-7049-examples.cbor
|
||||
b47730a2 test/data/checkerboard.gamma1dot0.png
|
||||
b47730a2 test/data/checkerboard.gamma2dot2.png
|
||||
aa3e6c7c test/data/crude-flag.nie
|
||||
|
||||
Reference in new issue
Block a user