![]() |
KTX Tools Reference 4.3.2
Libraries and tools to create and read KTX image texture files.
|
Print information about a KTX2 file.
ktx info [option...] input-file
ktx info prints information about the KTX2 file specified as the input-file argument. If the input-file is '-' the file will be read from the stdin. The command implicitly calls validate and prints any found errors and warnings to stdout. If the specified input file is invalid the information is displayed based on best effort and may be incomplete.
The JSON output formats conform to the https://schema.khronos.org/ktx/info_v0.json schema even if the input file is invalid and certain information cannot be parsed or displayed. Additionally, for JSON outputs the KTX file identifier is printed using "\u001A" instead of "\x1A" as an unescaped "\x1A" sequence inside a JSON string breaks nearly every JSON tool. Note that this does not change the value of the string only its representation.
The following options are available: