DirectX Texture Diagnostic Tool Microsoft Corporation
command-line dds direct3d direct3d-texture-resources directx directx-11 directx-12 directxtex microsoft textures wic-codec xbox
Use this command to install DirectX Texture Diagnostic Tool:
winget install --id=Microsoft.DirectXTex.Texdiag -e
Texdiag is a diagnostic command-line tool from Microsoft's DirectXTex library, designed for analyzing and debugging texture files (e.g., DDS, PNG, TGA). Unlike texconv (conversion) and texassemble (texture combining), texdiag focuses on inspecting texture properties, validating data, and detecting errors. Key Features: - Texture Info Dump: Displays metadata (format, dimensions, mip levels, array size, etc.). - Error Detection: Checks for corrupted or malformed texture files. - Pixel Analysis: Examines specific pixel values (useful for debugging artifacts). - Comparison Mode: Compares two textures (e.g., before/after compression). - DDS Validation: Verifies if a DDS file follows format specifications.