KTX Tools Reference 4.3.2
Libraries and tools to create and read KTX image texture files.
Loading...
Searching...
No Matches
ktx

Unified CLI frontend for the KTX-Software library.

SYNOPSIS

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

DESCRIPTION

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 following commands are available:

create
Create a KTX2 file from various input files.
extract
Extract selected images from a KTX2 file.
encode
Encode a KTX2 file.
transcode
Transcode a KTX2 file.
info
Print information about a KTX2 file.
validate
Validate a KTX2 file.
help
Display help information about the ktx tool.

The following options are also available without a command:

-h, --help
Print this usage message and exit.
-v, --version
Print the version number of this program and exit.

EXIT STATUS

  • 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

AUTHOR

  • Mátyás Császár [Vader], RasterGrid www.rastergrid.com
  • Daniel Rákos, RasterGrid www.rastergrid.com