ktx(1)

πŸ“¦ version 4.4.2, in nixos 26.05, nixpkgs unstable

πŸ’… ktx(1) β€” KTX Tools Reference, but make it bestie πŸ’…

okay so this is the ktx(1) page from KTX Tools Reference, and it's literally the unified CLI moment for KTX-Software. We're keeping every flag, every exit code, every credit β€” no skipping, periodt. 🫢


🌸 NAME 🌸

ktx β€” the Unified CLI frontend for the KTX-Software library. That's it, that's the name, and yes it's iconic. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

The shape is exactly this, iykyk:

ktx <command> [command-option...]
ktx [option...]

πŸ’– DESCRIPTION πŸ’–

It's the Unified CLI frontend for the KTX-Software library, with sub-commands for specific operations for the KTX File Format Specification https://registry.khronos.org/KTX/specs/2.0/ktxspec.v2.html. The spec link stays, bestie β€” copy it exact. πŸ“Ž

The following commands are available:

  • create β€” Create a KTX2 file from various input files. slay.
  • deflate β€” Deflate (supercompress) a KTX2 file. yes, supercompress is the word.
  • extract β€” Extract selected images from a KTX2 file. selective queen.
  • encode β€” Encode a KTX2 file. periodt.
  • transcode β€” Transcode a KTX2 file. the way that prefix changed...
  • info β€” Print information about a KTX2 file. spill the tea.
  • validate β€” Validate a KTX2 file. vibe check, but official.
  • compare β€” Compare two KTX2 files. duo energy.
  • help β€” Display help information about the ktx tool. bestie behavior.

✨ OPTIONS ✨

The following options are also available without a command β€” yes, you can use these on their own:

  • -h, --help β€” Print this usage message and exit. the classic escape hatch.
  • -v, --version β€” Print the version number of this program and exit. periodt.

πŸŽ€ EXIT STATUS πŸŽ€

Exit codes are the vibe check, so here's every single one:

  • 0 β€” Success πŸŽ‰
  • 1 β€” Command line error 😭
  • 2 β€” IO failure πŸ’€
  • 3 β€” Invalid input file πŸ™ˆ
  • 4 β€” Runtime or library error 😡
  • 5 β€” Not supported state or operation 🚫
  • 6 β€” Requested feature is not yet implemented 🚧

πŸ‘‘ HISTORY πŸ‘‘

Version 4.0

  • Initial version 🌱 β€” the origin story.

🫢 AUTHOR 🫢

Respecting the icons who made it happen:

  • MΓ‘tyΓ‘s CsΓ‘szΓ‘r [Vader], RasterGrid www.rastergrid.com β€” iconic.
  • Daniel RΓ‘kos, RasterGrid www.rastergrid.com β€” also iconic.

πŸŽ€ that's the whole manual, bestie. This is ktx(1) from KTX Tools Reference, Version 0.0.0, dated Tue Jan 1 1980 00:00:00. bye πŸ’–
πŸ“¦ where this page comes from