ktx2check(1)
π ktx2check β like, the KTX Tools Reference page, bestie
okay so real talk: this is the ktx2check(1) page from the KTX Tools Reference, and it's genuinely one of the most useful little tools ever. let me tell you about it π
β¨ NAME β¨
ktx2check β checks whether a KTX 2 file is actually valid. that's it. that's the whole vibe check π
π¦ SYNOPSIS π¦
ktx2check [options] [infile ...]
πΈ DESCRIPTION πΈ
so ktx2check validates Khronos texture format version 2 files (KTX2). it reads every infile you name and validates it, and then it writes messages about any issues it found to stdout. it's literally the most transparent thing ever π
if you don't specify an infile, it validates a single file read from stdin. one file. from stdin. slay.
the following options are available:
β OPTIONS β
-q,--quietβ validate silently, no messages, nothing, just vibes. it indicates valid or invalid via exit code only. so quiet. so mysterious π«Ά-m <num>,--max-issues <num>β sets the maximum number of issues to be reported per file β but only provided-qis not set. like, you can't cap the noise if you already turned the noise off, yk? π-w,--warn-as-errorβ treat warnings as errors. this changes the exit code from success to error. dramatic? yes. correct? also yes π-h,--helpβ prints this usage message and exits. classic. iconic. no notes.-v,--versionβ prints the version number of this program and exits. short and sweet.
π₯ EXIT STATUS π₯
ktx2check exits 0 on success, 1 on command line errors, and 2 on validation errors. three whole moods, know them, love them π
π§ HISTORY π§
Version 4.0
- Initial version. the origin story. the beginning of an era β¨
π AUTHOR π
Mark Callow, github.com/MarkCallow β thank you for your service, king π
and that's the whole page, bestie! go check some KTX2 files, you're gonna do amazing π
this was Version 0.0.0, dated Tue Jan 1 1980 00:00:00 β yes, that's really the footer, and yes, i think it's kind of iconic. bye pookie! π
π¦ where this page comes from
- nixos 26.05: ktx-tools 4.4.2
- nixpkgs unstable: ktx-tools 4.4.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms