What is ktx.exe




















Add script to build relnotes. Various Unrelated Build Fixes Jul 21, Oct 27, Remove warning disables for basisu code. Update to upto date documentation. May 17, Make ktxStream public Jun 21, Convert to Apache 2. May 12, Apr 20, View code. For use with KTX parsers written in Javascript. It supports mipmap generation, encoding to Basis Universal formats and Zstd supercompression. If you did not have Git LFS installed at first checkout then, after installing it, you must run git lfs checkout.

View license. This option is mutually exclusive with —automipmap and —genmipmap. Metadata is written by default. Use of this option is not recommended. This causes the input netpbm and PNG images to be flipped vertically to a lower-left origin. If a Vulkan loader ignores the orientation value, the image will appear upside down.

This option is ignored with —cubemap. If this is specified, implicit or explicit color space information from the input file s will be ignored and no color transformation will be performed. This should not be used with —mipmap as it would resize all the images to the same size. Resampler options can be set via —filter and —fscale. Not recommended for use with block-cmpressed textures, including Basis Universal formats, because something like rabb may yield drastically different error metrics if done after compression.

Excess input components will be dropped. Output components with no mapping from the input will be set to 0 or, if the alpha component, 1. Default is KTX. If all three options are set, a warning will be issued that --qlevel will be ignored. Default is 0, unset. Lower is higher quality but less quality per output bit try [1.

This will override the value chosen by --qlevel. Only valid for linear textures. Only needed with 3 or 4 component input images. These files can either contain multiple formats of the same asset or be transcodable to multiple formats, and being the subject of this article we are going to deal with the KTX2 container file format. This file does not in fact contains different formats of the same asset but a universal representation of the data that can be transcoded to any format supported by the target device!

We are speaking of transcoding instead of expanding because the data are not expanded per se, they are transformed to another compressed format, one supported by your target device the universal representation being itself compressed.

Currently, the universal representation is generated by using a compression algorithm known as Basis Universal , or BasisU for short, created by a company named Binomial. The purpose of KTX2 is to provide a lightweight format for distributing texture assets to GPUs that are compatible with various platforms and applications. A common usage of the KTX2 format includes 3D gaming applications, but other 2D and 3D applications also utilize the format.

Extended functionality available with KTX2 includes support for universal textures using Basis Universal technology and supercompression and easier loading of Vulkan textures and use by non-OpenGL and non-Vulkan applications. Khronos Group provides command-line tools for creating, checking, and dumping KTX2 files.



0コメント

  • 1000 / 1000