![]() |
KTX Tools Reference 4.4.0
Libraries and tools to create and read KTX image texture files.
|
Deflate (supercompress) a KTX2 file.
ktx deflate [option...] input-file output-file
ktx deflate deflates (supercompresses) the KTX file specified as the input-file and saves it as the output-file. If the input-file is '-' the file will be read from the stdin. If the output-path is '-' the output file will be written to the stdout. If the input file is already supercompressed it will be inflated then supercompressed again using the options specified here and a warning will be issued. If the input file is invalid the first encountered validation error is displayed to the stderr and the command exits with the relevant non-zero status code.
ktx deflate cannot be applied to KTX files that have been supercompressed with BasisLZ.
The following options are available: