feat(tools): diagnose and fixtures commands with the CC0 RAW manifest

diagnose prints per file the format, managed decode tier (and why it is
not native), delivered size, camera and capture time with its source,
then a per-format summary; --formats prints the tier table. fixtures
downloads tests/fixtures/manifest.json into tests/fixtures/external with
HTTP range resume and SHA-256 verification, skipping verified files and
recording the hash of first downloads whose manifest hash is null.
External fixture tests (skipped when absent) check native decoding,
size and agreement with the embedded preview.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 11:32:59 +00:00
1 parent 555d17742c
commit 0f3fbfdad4
6 files changed
+429 -21

No files matched your search

+78
View File
@@ -0,0 +1,78 @@
{
"description": "CC0 RAW samples from raw.pixls.us (one per managed RAW decoder), fetched by 'Titano.Tools fixtures' into tests/fixtures/external (git-ignored, CI-cached on this file). sha256 null: the first download records its hash in external/recorded-hashes.json and prints it for pinning here. width/height: size the managed decoder develops (before orientation). urlVerified false: the URL follows the site's data/<make>/<model>/ layout but was written without network access; replace it with the sample's download link if the fetch reports 404.",
"license": "CC0-1.0",
"files": [
{
"name": "google-pixel-4a.dng",
"url": "https://raw.pixls.us/data/Google/Pixel%204a/PXL_20201101_120000000.dng",
"sha256": null,
"size": null,
"format": "Dng",
"make": "Google",
"model": "Pixel 4a",
"width": 4032,
"height": 3024,
"urlVerified": false
},
{
"name": "canon-eos-5d-mark-iii.cr2",
"url": "https://raw.pixls.us/data/Canon/EOS%205D%20Mark%20III/IMG_0001.CR2",
"sha256": null,
"size": null,
"format": "Cr2",
"make": "Canon",
"model": "Canon EOS 5D Mark III",
"width": 5760,
"height": 3840,
"urlVerified": false
},
{
"name": "nikon-d850.nef",
"url": "https://raw.pixls.us/data/Nikon/D850/DSC_0001.NEF",
"sha256": null,
"size": null,
"format": "Nef",
"make": "NIKON CORPORATION",
"model": "NIKON D850",
"width": 8288,
"height": 5520,
"urlVerified": false
},
{
"name": "sony-ilce-7m3.arw",
"url": "https://raw.pixls.us/data/Sony/ILCE-7M3/DSC00001.ARW",
"sha256": null,
"size": null,
"format": "Arw",
"make": "SONY",
"model": "ILCE-7M3",
"width": 6048,
"height": 4024,
"urlVerified": false
},
{
"name": "fujifilm-x-t2.raf",
"url": "https://raw.pixls.us/data/Fujifilm/X-T2/DSCF0001.RAF",
"sha256": null,
"size": null,
"format": "Raf",
"make": "FUJIFILM",
"model": "X-T2",
"width": 6000,
"height": 4000,
"urlVerified": false
},
{
"name": "pentax-k-1.pef",
"url": "https://raw.pixls.us/data/Pentax/K-1/IMGP0001.PEF",
"sha256": null,
"size": null,
"format": "Pef",
"make": "RICOH IMAGING COMPANY, LTD.",
"model": "PENTAX K-1",
"width": 7392,
"height": 4950,
"urlVerified": false
}
]
}