mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
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 directory contains documentation about Wuffs' two aspects:
- A programming language.
- A standard library written in that programming language.
"Getting Started" has some suggestions if you're new. The top level README also has some general remarks. Its sections include:
- Goals and Non-Goals
- What Does Wuffs Code Look Like?
- What Does Compile Time Checking Look Like?
- Directory Layout
- Documentation
- Status
- Discussion
- Contributing
- License
- Disclaimer