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

Updated Using JPEG PNG OSS (markdown)

Chuck Walbourn 2024-01-20 11:37:26 -08:00
parent 84a69f4a96
commit 9af9eca6ca

@ -1,3 +1,6 @@
|[[DirectXTex]]|
|---|
The *DirectXTex* library makes use of the Windows Imaging Component (WIC) which includes a number of built-in codecs for BMP, JPEG, PNG, etc. On *Windows Subsystem for Linux*, however, WIC is not present so only the DDS, HDR, and TGA file formats are supported by the library.
Using CMake there is an option to opt-in to using the Open Source **libjpeg** (`ENABLE_LIBJPEG_SUPPORT`) and/or **libpng** (`ENABLE_LIBPNG_SUPPORT`) libraries to provide support for these file formats on *Windows Subsystem for Linux*.