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

Check the validity of a KTX 2 file.

SYNOPSIS

ktx2check [options] [infile ...]

DESCRIPTION

ktx2check validates Khronos texture format version 2 files (KTX2). It reads each named infile and validates it writing to stdout messages about any issues found. When infile is not specified, it validates a single file from stdin.

The following options are available:

-q, --quiet
Validate silently. Indicate valid or invalid via exit code.
-m <num>, –max-issues <num>
Set the maximum number of issues to be reported per file provided -q is not set.
-w, --warn-as-error
Treat warnings as errors. Changes exit code from success to error.
-h, --help
Print this usage message and exit.
-v, --version
Print the version number of this program and exit.

EXIT STATUS

ktx2check exits 0 on success, 1 on command line errors and 2 on validation errors.

HISTORY

Version 4.0
  • Initial version.

AUTHOR

Mark Callow, Edgewise Consulting www.edgewise-consulting.com