diff --git a/.nuget/directxtex_desktop_2019.nuspec b/.nuget/directxtex_desktop_2019.nuspec index d2b7c92..c9a2a04 100644 --- a/.nuget/directxtex_desktop_2019.nuspec +++ b/.nuget/directxtex_desktop_2019.nuspec @@ -10,7 +10,7 @@ This version is for Windows desktop applications using Visual Studio 2019 (16.11) or Visual Studio 2022 and supports Windows 7 / DirectX 11. 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 simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec. - Matches the December 31, 2023 release on GitHub. + Matches the February 21, 2024 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248926 images\icon.jpg diff --git a/.nuget/directxtex_desktop_win10.nuspec b/.nuget/directxtex_desktop_win10.nuspec index ad975d1..42be884 100644 --- a/.nuget/directxtex_desktop_win10.nuspec +++ b/.nuget/directxtex_desktop_win10.nuspec @@ -10,7 +10,7 @@ This version is for Windows desktop applications using Visual Studio 2019 (16.11) or Visual Studio 2022 and supports Windows 10 / Windows 11 including both DirectX 11 and DirectX 12. 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 simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec. - Matches the December 31, 2023 release on GitHub. + Matches the February 21, 2024 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248926 images\icon.jpg diff --git a/.nuget/directxtex_uwp.nuspec b/.nuget/directxtex_uwp.nuspec index b8840ea..a19b8e7 100644 --- a/.nuget/directxtex_uwp.nuspec +++ b/.nuget/directxtex_uwp.nuspec @@ -10,7 +10,7 @@ This version is for Universal Windows Platform apps on Windows 10 / Windows 11 using Visual Studio 2019 (16.11) or Visual Studio 2022. 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 simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec. - Matches the December 31, 2023 release on GitHub. + Matches the February 21, 2024 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248926 images\icon.jpg diff --git a/CMakeLists.txt b/CMakeLists.txt index 799cddc..2063c00 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required (VERSION 3.20) -set(DIRECTXTEX_VERSION 2.0.2) +set(DIRECTXTEX_VERSION 2.0.3) if(WINDOWS_STORE OR (DEFINED XBOX_CONSOLE_TARGET)) set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY") diff --git a/DirectXTex/DirectXTex.h b/DirectXTex/DirectXTex.h index 16efde6..26329f3 100644 --- a/DirectXTex/DirectXTex.h +++ b/DirectXTex/DirectXTex.h @@ -47,7 +47,7 @@ struct IWICImagingFactory; struct IWICMetadataQueryReader; #endif -#define DIRECTX_TEX_VERSION 202 +#define DIRECTX_TEX_VERSION 203 namespace DirectX diff --git a/HISTORY.md b/HISTORY.md index c131885..485b623 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -6,6 +6,15 @@ Release available for download on [GitHub](https://github.com/microsoft/DirectXT ## Release History +### February 21, 2024 +* TGA reader now limited to 4 GB for maximum image size for security hardening +* Project updates for improved logging of shader compilation errors and GDK validation +* CMake project updates and refactor +* Minor code review for Clang, MinGW, and Intel compilers +* Auxiliary updated with LIBJPEG and LIBPNG implementations for use on WSL which lacks WIC +* texassemble: new ``from-mips`` command +* texconv: Updated to support Xbox extension functionality + ### December 31, 2023 * TGA reader bug fix for offset boundary check * PPM/PFM reader bug fixes for bounds checking @@ -19,8 +28,8 @@ Release available for download on [GitHub](https://github.com/microsoft/DirectXT * Allows cases where DDS_HEADER size is incorrectly set to 24 * Allows cases where DDPIXELFORMAT size is incorrectly set to 24 * Allows cases where DDS_HEADER.MipMapCount is set to the wrong value -* texassemble/texconv/texdiag: -flist option updated to support filenames with spaces -* texconv: -permissive switch added to opt-in use of new flag when reading DDS files +* texassemble/texconv/texdiag: ``-flist`` option updated to support filenames with spaces +* texconv: ``-permissive`` switch added to opt-in use of new flag when reading DDS files ### September 1, 2023 * ``CompressEx`` and ``ConvertEx`` functions added with status callback and options structs diff --git a/README.md b/README.md index 570d474..bd47a6a 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ http://go.microsoft.com/fwlink/?LinkId=248926 Copyright (c) Microsoft Corporation. -**December 31, 2023** +**February 21, 2024** 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.