1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-09-19 23:29:54 +00:00

Updated Resize (markdown)

Chuck Walbourn 2018-08-04 21:01:38 -07:00
parent bdb31181a4
commit 9a8b005c8b

@ -66,4 +66,4 @@ This function is implemented with both WIC and non-WIC code paths. The WIC code
* When resizing HDR images, be sure to stick with the default of ``TEX_FILTER_FANT`` when using WIC as the ``IWICBitmapScalar`` has limited supported for high bit-depth and extended range formats. By default, the DirectXTex library chooses to use non-WIC codepaths when resizing for > 8 color-depth images with LINEAR or CUBIC filtering, with sRGB images, with MIRROR/WRAP semantics, or when using TRIANGLE filtering. It will also select non-WIC paths when dealing with 16k textures that are too large for WIC.
* On Windows 10 Creators Update (16299) or later, WIC has better handling when using the ``IWICBitmapScalar``
with 10:10:10:2 and float16 formats. On older versions of Windows, it will return the results for these formats as 32bpp which is then reconverted to the target format but with a loss of precision. You may want to use ``TEX_FILTER_FORCE_NON_WIC`` if the results you are getting appear to be losing precision.
with 10:10:10:2 and float16 formats. On older versions of Windows, it will return the results for these formats as 32bpp which is then reconverted to the target format but with a loss of precision. You may want to use ``TEX_FILTER_FORCE_NON_WIC`` if the results you are getting appear to be losing precision on older releases of Windows.