1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-23 13:00:06 +00:00

Updated WIC I O Functions (markdown)

Chuck Walbourn 2018-06-25 15:57:06 -07:00
parent 7cc4fa9252
commit 9b28b780cc

@ -153,7 +153,7 @@ When writing WIC files, you can also provide a callback for setting specific enc
* ``WIC_FLAGS_ALL_FRAMES`` By default, only the first frame of a multi-frame file is loaded. If this flag is provided, all frames are loaded and resized to match the size of the first image to fit the DirectXTex requirements for a 2D array.
## Color space
* `` WIC_FLAGS_IGNORE_SRGB`` While there is no explicit 'sRGB' pixel format defined for WIC, the load function will check for known metadata tags and may return ``DXGI_FORMAT_*_SRGB`` formats if there are equivalents of the same size and channel configuration available. If this flag is specified, any 'sRGB' metadata ignored instead.
* `` WIC_FLAGS_IGNORE_SRGB`` While there is no explicit 'sRGB' pixel format defined for WIC, the load function will check for known metadata tags and may return ``DXGI_FORMAT_*_SRGB`` formats if there are equivalents of the same size and channel configuration available. If this flag is specified, any 'sRGB' metadata is ignored instead.
## Dithering
These flags control the use of dithering for image conversions. It defaults to 'no' dithering.