A c++ wrapper library around DirectXTex and Texconv.
- Clone the repository into an empty folder
git clone https://github.com/rfuzzo/TexconvLib.git
- Update the submodules
git submodule init --recursive
- Build the repository with cmake
-
CMakeLists.txt
orSource/CMakeLists.txt
-
There is also a
TexconvLib.sln
for c# interop tests.
-
ConvertAndSaveDdsImage
-
ConvertDdsImageToArray
-
Flip/Rotate
-
Resize
-
Swizzle
-
Color rotation
-
Tonemap
-
Convert
-
Convert NormalMaps
-
ColorKey/ChromaKey
-
Invert Y Channel
-
Reconstruct Z Channel
-
Determine whether preserve alpha coverage is required
-
Generate mips
-
Preserve mipmap alpha coverage
-
Premultiplied alpha
-
Compress
-
Set alpha mode
- ComputePitch
- ComputeScanlines
- ComputeScanlines
- GetMetadataFromDDSMemory
- GetMetadataFromDDSFile
- GetMetadataFromHDRMemory
- GetMetadataFromHDRFile
- GetMetadataFromTGAMemory
- GetMetadataFromTGAFile
- LoadFromDDSMemory
- LoadFromDDSFile
- SaveToDDSMemory
- SaveToDDSMemory
- SaveToDDSFile
- SaveToDDSFile
- LoadFromTGAMemory
- LoadFromTGAFile
- SaveToTGAMemory
- SaveToTGAFile
-
Resize
-
Resize
-
Convert
-
Convert
-
ConvertToSinglePlane
-
ConvertToSinglePlane
-
GenerateMipMaps
-
GenerateMipMaps
-
GenerateMipMaps3D
-
GenerateMipMaps3D
-
ScaleMipMapsAlphaForCoverage
-
Compress
-
Compress
-
Compress
-
Compress
-
Decompress
-
Decompress
- ComputeNormalMap
- ComputeNormalMap