ScanMountGoat / image_dds

Convert images to and from compressed DDS formats
MIT License
10 stars 4 forks source link

Pure Rust encoding library #12

Open ScanMountGoat opened 10 months ago

ScanMountGoat commented 10 months ago

Similar to #11, this will make compilation easier for some use cases. This will be more involved than decoding since intel_tex_rs uses the intel ispc compiler and is fairly complex. It may be better to make bindings to a smaller library first like https://github.com/elasota/ConvectionKernels and fuzz the Rust port against the original C++ code. It's also worth investigating the potential performance loss since intel_tex_rs makes heavy use of SIMD.

ScanMountGoat commented 9 months ago

Another option for all formats except bc2 and bc6 is https://github.com/richgel999/bc7enc_rdo.