5.4.0
Status: May 2026
The 5.4.0 release is a minor feature release.
This release includes changes to the public interface in the astcenc.h header. We always recommend rebuilding your client-side code using the header from the same release to avoid compatibility issues.
Thank you to the community contributors for this release cycle, who contributed the changes for astcenc.h C compliance, RISC-V backend support, and new fuzzers that significantly increase our OSS Fuzz code coverage.
- General:
- Improvement: The interface header
astcenc.his now C compliant to make it usable from C programs. - Improvement: Contexts using the same configuration can now share read-only data tables. This can significantly reduce the amount of memory needed for applications that parallelize by processing multiple images in parallel instead of slicing a single image in parallel.
- Improvement: Decompressor (
astcdec) builds, which lack compression support, now use a smallerblock_size_descriptorby omitting fields that are only needed for compression. This reduces the size of a decompressor context by more than 10MB! - Optimization: A SIMD backend for the RISC-V Vector extensions has been added, and is auto-selected when configured with
ASTCENC_ISA_NONEand a core with a 256-bit vector width. See Building.md for details. - Bug fix: Avoid using an undefined
quant_weightvalue if all one partition trials return an error block. - Bug fix: Remove remaining instances of type aliasing through unions.
- Bug fix: Avoid compiler double definition warning for
NOMINMAXwhen compiling with MinGW. - Bug fix: Avoid compiler floating point model override warning when compiling with Clang 20.
- Improvement: The interface header
Binary release sha256 checksums
a892b8630edfb79334fefe2a2312af934fc385f3190ca06ee882a264835ae7b4 astcenc-5.4.0-linux-arm64.zip
c98cb38b979a0d3464d1d445e7b485f7356457cdbc5d9c4bc9450f9ce45ebf73 astcenc-5.4.0-linux-x64.zip
4d02d5cad4a026e026b60f0e8dd02064858637f6f96e942d986a9e96003bf6f3 astcenc-5.4.0-macos-universal.zip
8d0ef8eb9d0b2519776ba5609a0f01249827fe730f8932de11bb6b06d9ac5f17 astcenc-5.4.0-windows-arm64.zip
1f0cbc67550caf158c3c0ac7689e8defefcd50e63f4b17d9b321c5728142e30d astcenc-5.4.0-windows-x64.zip