![]() |
KTX Tools Reference 4.4.0
Libraries and tools to create and read KTX image texture files.
|
Create a KTX 2 file from a KTX file.
ktx2ktx2 [options] [infile ...]
ktx2ktx2 creates Khronos texture format version 2 files (KTX2) from Khronos texture format version 1 files. ktx2ktx2 reads each named infile. Output files have the same name as the input but with the extension changed to .ktx2. When infile is not specified, a single file will be read from stdin and the output written to standard out.
If unrecognized metadata with keys beginning "KTX" or "ktx" is found in the input file, it is dropped and a warning is written to standard error.
The following options are available:
ktx2ktx2 exits 0 on success, 1 on command line errors and 2 on functional errors.
Mark Callow, Edgewise Consulting www.edgewise-consulting.com