Skip to content

Conversation

@walbourn
Copy link
Member

@walbourn walbourn commented Oct 23, 2025

This updates the Auxiliary "JPEG" implementation for use on Linux which lacks WIC support.

  • Added JPEG_FLAGS for reading: JPEG_FLAGS_DEFAULT_LINEAR

  • Added JPEG_FLAGS for writing for future use and consistency.

  • Adding writing support for DXGI_FORMAT_B8G8R8X8_UNORM and DXGI_FORMAT_*_UNORM_SRGB formats.

  • Fixed implementation for non-Turbo LIBJPEG scenarios.

  • Ensure returned RGBA images have alpha-channel set to fully opaque instead of zero.

  • Some general code cleanup.

@walbourn walbourn self-assigned this Oct 23, 2025
@walbourn walbourn added the wsl Related to Windows Subsystem for Linux support label Oct 23, 2025
@walbourn
Copy link
Member Author

Test suite updates walbourn/directxtextest#65

@walbourn walbourn changed the title Rework libjpeg Auxiliary supports to address numerous problems Rework libjpeg Auxiliary supports to address some problems Oct 23, 2025
@walbourn walbourn merged commit f04d5cb into main Oct 24, 2025
115 checks passed
@walbourn walbourn deleted the libjpegreworkaux branch October 24, 2025 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wsl Related to Windows Subsystem for Linux support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants