# KTX2 questions: missing tools link and huge files sizes

**URL:** <https://forum.babylonjs.com/t/ktx2-questions-missing-tools-link-and-huge-files-sizes/37069>\
**Category:** Questions\
**Created:** [January 3, 2023, 9:40pm UTC](https://forum.babylonjs.com/t/ktx2-questions-missing-tools-link-and-huge-files-sizes/37069 "2023-01-03T21:40:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anupam\_Das](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/anupam_das/32/16709_2.png) [@Anupam\_Das](https://forum.babylonjs.com/u/Anupam_Das)\
**Post date:** [January 3, 2023, 9:40pm UTC](https://forum.babylonjs.com/t/ktx2-questions-missing-tools-link-and-huge-files-sizes/37069/1 "2023-01-03T21:40:46Z")

</div>

Does anyone know where the ktx2 batch scripts are . Link to the docs to the repo are broken:

> **[Multi-Platform Compressed Textures | Babylon.js Documentation](https://doc.babylonjs.com/features/featuresDeepDive/materials/advanced/mutliPlatTextures)**
>
> Learn all about multi-platform compressed textures in Babylon.js.

[https://github.com/BabylonJS/Babylon.js/tree/master/Tools/CompressedTextured](https://github.com/BabylonJS/Babylon.js/tree/master/Tools/CompressedTextured)  
I tried manually converting a 1k png to ktx2 Using the PVRTextToolGuI. The file went from 2mb to almost 16mb when its compressed. I get that in the GPU the texture takes up much less memory but are these large disk sizes normal? Anyone point me to docs on options to tweak the compression settings?. The PVRTexTool seems limited with no compression options.

The large file sizes along with limited device supported is leading us away from KTX unfortunately but we’d still like to do our due diligence in evaluating this.

-Anupam

---

<div class="post-metadata">

**Author:** ![Anupam\_Das](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/anupam_das/32/16709_2.png) [@Anupam\_Das](https://forum.babylonjs.com/u/Anupam_Das)\
**Post date:** [January 4, 2023, 4:54am UTC](https://forum.babylonjs.com/t/ktx2-questions-missing-tools-link-and-huge-files-sizes/37069/2 "2023-01-04T04:54:32Z")

</div>

also PVRTexToolGUI does not seem to be able to produce dxt-ktx files. Im wondering if there is a better conversion tool that can batch convert to all the various formats for the different platorms?

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [January 4, 2023, 5:00am UTC](https://forum.babylonjs.com/t/ktx2-questions-missing-tools-link-and-huge-files-sizes/37069/3 "2023-01-04T05:00:18Z")

</div>

Let me add @Evgeni_Popov and @bghgary to this thread 🙂

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [January 4, 2023, 11:17am UTC](https://forum.babylonjs.com/t/ktx2-questions-missing-tools-link-and-huge-files-sizes/37069/4 "2023-01-04T11:17:47Z")

</div>

I think you should look at .ktx2 instead:

> **[KTX2 Compressed Textures | Babylon.js Documentation](https://doc.babylonjs.com/features/featuresDeepDive/materials/using/ktx2Compression)**
>
> Learn advanced texture compression with KTX2 support in Babylon.js.

There are some links at the end of the page on tools you can use to generate and tweak .ktx2 files.

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [January 4, 2023, 8:29pm UTC](https://forum.babylonjs.com/t/ktx2-questions-missing-tools-link-and-huge-files-sizes/37069/5 "2023-01-04T20:29:18Z")

</div>

> [@Anupam\_Das](#):
>
> Im wondering if there is a better conversion tool that can batch convert to all the various formats for the different platorms?

Check this - [https://gltf-transform.donmccurdy.com/](https://gltf-transform.donmccurdy.com/)

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [January 4, 2023, 8:35pm UTC](https://forum.babylonjs.com/t/ktx2-questions-missing-tools-link-and-huge-files-sizes/37069/6 "2023-01-04T20:35:02Z")

</div>

Also note that the whole point of KTX2 in glTF is to store BasisU payload which only needs one payload and not different payloads per platform. See [here](https://www.khronos.org/ktx/).

---

<div class="post-metadata">

**Author:** ![Anupam\_Das](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/anupam_das/32/16709_2.png) [@Anupam\_Das](https://forum.babylonjs.com/u/Anupam_Das)\
**Post date:** [January 4, 2023, 8:50pm UTC](https://forum.babylonjs.com/t/ktx2-questions-missing-tools-link-and-huge-files-sizes/37069/7 "2023-01-04T20:50:31Z")

</div>

@bghgary @sebvan ahh yes KTX2 seems to bundle all of it. Hard to keep up with all these new formats lol. I will experiment with Chronos CLI tools and report back…stay tuned and Thanks all.
