{"id":27940559,"url":"https://github.com/khronosgroup/ktx-specification","last_synced_at":"2026-03-10T23:37:14.089Z","repository":{"id":33462468,"uuid":"134899022","full_name":"KhronosGroup/KTX-Specification","owner":"KhronosGroup","description":"KTX file format source","archived":false,"fork":false,"pushed_at":"2026-02-09T07:40:49.000Z","size":3405,"stargazers_count":79,"open_issues_count":14,"forks_count":13,"subscribers_count":11,"default_branch":"main","last_synced_at":"2026-02-09T13:23:07.652Z","etag":null,"topics":["ktx","ktx2","specification-source","texture-file-format"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KhronosGroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.adoc","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-05-25T19:54:27.000Z","updated_at":"2026-02-04T21:31:14.000Z","dependencies_parsed_at":"2024-02-15T07:27:12.274Z","dependency_job_id":"f540b950-1f83-49db-a86f-ea3f563f6145","html_url":"https://github.com/KhronosGroup/KTX-Specification","commit_stats":null,"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/KhronosGroup/KTX-Specification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhronosGroup%2FKTX-Specification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhronosGroup%2FKTX-Specification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhronosGroup%2FKTX-Specification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhronosGroup%2FKTX-Specification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KhronosGroup","download_url":"https://codeload.github.com/KhronosGroup/KTX-Specification/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhronosGroup%2FKTX-Specification/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30362123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"ssl_error","status_checked_at":"2026-03-10T21:40:59.357Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ktx","ktx2","specification-source","texture-file-format"],"created_at":"2025-05-07T10:18:16.052Z","updated_at":"2026-03-10T23:37:14.059Z","avatar_url":"https://github.com/KhronosGroup.png","language":"CSS","readme":"## Home of the KTX File Format Specification\n\n[![Build Status](https://travis-ci.org/KhronosGroup/KTX-Specification.svg?branch=master)](https://travis-ci.org/KhronosGroup/KTX-Specification)\n\nKTX is a file format that can be used for storing GPU-ready texture data (with cubemaps, mip levels, etc).\nLike DDS but with more features and more formal specification. It supports Basis Universal transcodable formats and supercompression which can yield JPEG-sized universal textures. glTF will use Basis Universal textures in KTX v2 containers.\n\nClick these links to see the latest published versions of the\n[KTX File Format Specification](https://registry.khronos.org/KTX/specs/2.0/ktxspec.v2.html) \nor the [KTX Fragment URI Specification](https://registry.khronos.org/KTX/specs/2.0/ktx-frag.html)\nfrom the Khronos KTX Registry, visit the project's\n[GitHub Pages](https://github.khronos.org/KTX-Specification/) to see formatted\nversions of the latest commits to `main` (both options look much better than\nthe ersatz views provided by GitHub) or run\n\n```bash\nmake\n```\n\nin a Unix-like environment with [AsciiDoctor](https://asciidoctor.org/docs/install-toolchain/)\ninstalled to generate the publishable specs. They are the files `out/specs/ktxspec.v2.html` and `out/specs/ktx-frag.html`.\nEverything needed is inlined.\n\nThe canonical KTX spec. text is in the file `ktxspec.adoc`. The canonical fragment URI spec. text is in the file `ktx-frag.html`.\n\nIf you have questions or comments that don't merit creating an issue such as \"why did you do\nso-and-so?\" use GitHub [Discussions](https://github.com/KhronosGroup/KTX-Specification/discussions).\n\n### GPU texture format mappings\n\nTo ensure correct mappings from Vulkan's `VkFormat` to other GPU APIs, this repo additionally contains:\n\n- [JSON database](formats.json) ([schema](formats.schema.json)) with mappings to OpenGL, Direct3D, and Metal enums.\n- [Switch-case generator](generate_format_switches.rb) that produces 5 files with simple C-like case-return statements.\n  \u003e **Usage:** `./generate_format_switches.rb [\u003cout_dir\u003e]`\n- [Compile test of the case statements](switch_test/vk2gl.c) that serves as an example of use. To try the compile test do\n\n ```bash\n cd switch_test\n make\n ```\n or\n \n ```bash\n make testswitches\n ```\n \n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhronosgroup%2Fktx-specification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhronosgroup%2Fktx-specification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhronosgroup%2Fktx-specification/lists"}