A .NET library to run C# code in parallel on the GPU through DX12, D2D1, and dynamically generated HLSL compute and pixel shaders, with the goal of making GPU computing easy to use for all .NET developers! 🚀
MIT License
2.79k
stars
124
forks
source link
Addresses limitations of detecting ImageFormat / ContainerFormat from the file extension #844
Ensures case insensitive comparison of the file extension and manually maps all supported file extensions supported by the build in container formats (BMP, JPEG, PNG, TIFF, WMP, DDS).
Closes #799
Description
Ensures case insensitive comparison of the file extension and manually maps all supported file extensions supported by the build in container formats (BMP, JPEG, PNG, TIFF, WMP, DDS).
Additional context (optional)
Alternative approaches are possible, removing the need for hard coding any file extensions (see https://github.com/Sergio0694/ComputeSharp/issues/799#issuecomment-2142696288). Such an approach is more involved and would be a better fit if it is planned to address #800.