rea
Reverse engineer anything with agents, from app behavior down to native binaries.
- 473k
- TypeScript
- MIT
- 4 h ago

DirectXTex texture processing library
Repo microsoft/DirectXTex, read from GitHub 21 h ago. microsoft has not joined Take My Repo.
microsoft/DirectXTex is a public repo on GitHub by microsoft. DirectXTex texture processing library. It declares the MIT license on GitHub. It is written mainly in C++, has 2,184 stars and last changed on 2026-11-21. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-21.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.

https://go.microsoft.com/fwlink/?LinkId=248926
Copyright (c) Microsoft Corporation.
This package contains DirectXTex, a shared source library for reading and writing .DDS files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes .TGA and .HDR readers and writers since these image file formats are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec.
This code is designed to build with Visual Studio 2022, Visual Studio 2026, clang for Windows v12 or later, or MinGW. Use of the Windows 11 SDK (22000) or later is required for Visual Studio. It can also be built for Windows Subsystem for Linux using GCC 11 or later.
These components are designed to work without requiring any content from the legacy DirectX SDK. For details, see Where is the DirectX SDK?.
DirectXTex\
The majority of the header files here are intended for internal implementation of the library only (
BC.h,BCDirectCompute.h,DDS.h,DirectXTexP.h, etc.). OnlyDirectXTex.handDirectXTex.inlare meant as the 'public' header for the library.
Auxiliary\
Common\
Texconv\
This DirectXTex sample is an implementation of the texconv command-line texture utility from the DirectX SDK utilizing DirectXTex rather than D3DX.
It supports the same arguments as the Texture Conversion Tool Extended (texconvex.exe) legacy DirectX SDK utility. The primary differences are the -10 and -11 arguments are not applicable and the filter names (POINT, LINEAR, CUBIC, FANT or BOX, TRIANGLE, *_DITHER, *_DITHER_DIFFUSION). This also includes support for the JPEG XR (HD Photo) bitmap format.
Texassemble\
Texdiag\
DDSView\
DDSTextureLoader\
ScreenGrab\
WICTextureLoader\
DDSTextureLoader11, ScreenGrab11, and WICTextureLoader11 are 'stand-alone' versions of the same modules provided in the DirectX Tool Kit for DX11 DDSTextureLoader12, ScreenGrab12, and WICTextureLoader12 are 'stand-alone' versions of the same modules provided in the DirectX Tool Kit for DX12.
build\
skills\
Documentation is available on the GitHub wiki.
For CoPilot CLI assistance with using DirectXTex, try:
winget install GitHub.Copilot
winget install GitHub.cli
gh skill install microsoft/directxtex
copilot
/skills list
All content and source code for this package are subject to the terms of the MIT License.
For the latest version of DirectXTex, bug reports, etc. please visit the project site on GitHub.
FOR SECURITY ADVISORIES, see GitHub.
For a full change history, see CHANGELOG.md.
winget install --id=LLVM.LLVM --version 22.1.3
powershell -File build/Format.ps1 -LLVM
The directxtex_desktop_win10 and directxtex_uwp NuGet packages are deprecated. The best way to integrate the latest DirectXTex into your C++ project is using vcpkg.
The CMake projects require 3.21 or later.
Starting with the October 2025 release, the Auxiliary functions for loading and saving JPEG and PNG files now take a flag parameter after the filename.
Starting with the March 2025 release, Windows 7 and Windows 8.0 support has been retired.
Starting with the July 2022 release, the bool forceSRGB parameter for the CreateTextureEx and CreateShaderResourceViewEx functions is now a CREATETEX_FLAGS typed enum bitmask flag parameter. This may have a breaking change impact to client code. Replace true with CREATETEX_FORCE_SRGB and false with CREATETEX_DEFAULT.
Starting with the June 2020 release, this library makes use of typed enum bitmask flags per the recommendation of the C++ Standard section 17.5.2.1.3 Bitmask types. This is consistent with Direct3D 12's use of the DEFINE_ENUM_FLAG_OPERATORS macro. This may have breaking change impacts to client code:
You cannot pass the 0 literal as your flags value. Instead you must make use of the appropriate default enum value: CP_FLAGS_NONE, DDS_FLAGS_NONE, WIC_FLAGS_NONE, TEX_FR_ROTATE0, TEX_FILTER_DEFAULT, TEX_FILTER_DEFAULT, TEX_FILTER_DEFAULT, CNMAP_DEFAULT, or CNMAP_DEFAULT.
Use the enum type instead of DWORD if building up flags values locally with bitmask operations. For example, DDS_FLAGS flags = DDS_FLAGS_NONE; if (...) flags |= DDS_FLAGS_EXPAND_LUMINANCE;
In cases where some of the flags overlap, you can use the | to combine the relevant types: TEX_FILTER_FLAGS filter modes combine with WIC_FLAGS, TEX_FILTER_FLAGS sRGB flags combine with TEX_PMALPHA_FLAGS or TEX_COMPRESS_FLAGS. No other bitwise operators are defined. For example, WIC_FLAGS wicFlags = WIC_FLAGS_NONE | TEX_FILTER_CUBIC;
WICTextureLoader cannot load .TGA or .HDR files unless the system has a 3rd party WIC codec installed. You must use the DirectXTex library for TGA/HDR file format support without relying on an add-on WIC codec.
The UWP projects and the Win10 classic desktop project include configurations for the ARM64 platform. Building these requires installing the ARM64 toolset.
When using clang/LLVM for the ARM64/AArch64 platform, the Windows 11 SDK (22000) or later is required.
The CompileShaders.cmd script must have Windows-style (CRLF) line-endings. If it is changed to Linux-style (LF) line-endings, it can fail to build all the required shaders.
As of the October 2024 release, the command-line tools also support GNU-style long options using --. All existing switches continue to function, but some of the - options are now deprecated per this table:
| texassemble | texconv | texdiag | |||
|---|---|---|---|---|---|
| -tonemap | --tonemap | -badtails | --bad-tails | -badtails | --bad-tails |
| -bgcolor | --gif-bg-color | -fixbc4x4 | --fix-bc-4x4 | -ignoremips | --ignore-mips |
| -swizzle | --swizzle | -ignoremips | --ignore-mips | -permissive | --permissive |
| -stripmips | --strip-mips | -inverty | --invert-y | -targetx | --target-x |
| -keepcoverage | --keep-coverage | -targety | --target-y | ||
| -permissive | --permissive | ||||
| -reconstructz | --reconstruct-z | ||||
| -rotatecolor | --rotate-color | ||||
| -singleproc | --single-proc | ||||
| -swizzle | --swizzle | ||||
| -tgazeroalpha | --tga-zero-alpha | ||||
| -timing | --timing | ||||
| -tonemap | --tonemap | ||||
| -wiclossless | --wic-lossless | ||||
| -wicmulti | --wic-multiframe | ||||
| -x2bias | --x2-bias |
For questions, consider using Stack Overflow with the directxtk tag, or the DirectX Discord Server in the dx12-developers or dx9-dx11-developers channel.
For bug reports and feature requests, please use GitHub issues for this project.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
Tests for new features should also be submitted as a PR to the Test Suite repository.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
The DirectXTex library is the work of Chuck Walbourn, with contributions from Matt Lee, Xin Huang, Craig Peeper, and the numerous other Microsoft engineers who developed the D3DX utility library over the years.
Thanks to Paul Penson for his help with the implementation of MemoryStreamOnBlob.
Thanks to Park DongHa for their contribution of the JPEG/PNG auxiliary functions.
Thanks to Isaac Plunkett, Danny Chen, Jesse Natalie, and James Stanard for their help with the Standard Swizzle implementation.
Thanks to Andrew Farrier, Jon Martin, and Scott Matloff for their help with code reviews.
Thanks to Shawn Hargreaves and Nada Ouf for their continued support for this library.
microsoft/DirectXTex is a public repo on GitHub by microsoft. DirectXTex texture processing library.
It declares the MIT license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-11-21. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Reverse engineer anything with agents, from app behavior down to native binaries.
A curated list of awesome C++ (or C) frameworks, libraries, resources, and shiny things. Inspired by awesome-... stuff.
The most complete DDS - Proven: Plenty of success cases. Looking for commercial support? Contact info@eprosima.com
Python tool for converting files and office documents to Markdown.
Microsoft PowerToys is a collection of utilities that supercharge productivity and customization on Windows
21 Lessons, Get Started Building with Generative AI
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
The new Windows Terminal and the original Windows console host, all in the same place!
This page is also available as structured data, with the same sources and dates.
/api/v1/resources/gh/microsoft/DirectXTexTake My Repo has not tested this on your machine. Requirements come from the project's own documentation.