5.5.0
Status: June 2026
The 5.5.0 release is a minor maintenance release, fixing minor functional issues and improving robustness when processing invalid images.
- Codec library updates:
- Bug fix: Correct
vfloat8NaN inequality comparisons for AVX2 builds, so that decompressing an invalid encoding returns the correct max magenta error color for UNORM output formats instead of black. - Bug fix: Add overflow detection so that the API returns errors for cases when input image size would result in integer overflow in
calculations of total texel count, total block count, or compressed image byte size. - Bug fix: Fix bad offset calculation in
compute_averages()when using 3D block sizes. - Bug fix: Add missing low-clamp when storing decompressed HDR data into a UNORM8 image. Prior to this fix, output colors would be incorrect if a HDR void-extent block contained a negative FP16 constant color component.
- Improvement: Return standard error color when decompression requires an unavailable partitioning when using an
ASTCENC_FLG_SELF_DECOMPRESS_ONLYcontext. Note that this is still not allowed API usage and may trigger asserts in a debug build.
- Bug fix: Correct
- Command line tool updates:
- Update: Update stb_image to v2.30.
- Update: Update Wuffs to v0.3.4.
- Update: Update TinyEXR to v1.0.13.
- Bug fix: Use C++ RAII to manage resource lifetime, removing resource leaks when an error condition is encountered.
- Bug fix: Report errors for
.astc,.dds, and.ktxinput image sizes that would result in integer overflow in calculations of total block count or data size. - Bug fix: Avoid undefined behavior on NaN to int conversion triggered by
atan2()calls when both inputs are zero. - Bug fix: Avoid undefined behavior on left shift of negative integer, that is triggered for some HDR encodings in
hdr_alpha_unpack(). - Bug fix: Redirect error logging for failed
.ddsand.ktxinput image loading to stderr, and improve message consistency.
Binary release sha256 checksums
aee2efe79fa07ab5b341200f45b2a613b540490e64047107fbbc9bdbb3f4b179 astcenc-5.5.0-linux-arm64.zip
ecf4c6bc858ce6a3b7ac49af800c5d1268410cebaed35bc998e6eeb8b547ceca astcenc-5.5.0-linux-x64.zip
52b7c3380ac1e6afa1565c4fc86f571c510fed67f38d6e80c2f3cc3f23ae3059 astcenc-5.5.0-macos-universal.zip
e342902eed198011ef88267f081695905ad6586be25fd923a5a9e039f2dab083 astcenc-5.5.0-windows-arm64.zip
658abc1ca76990bb5a00402a122e3b8b041f0ce416fe966c484466bddf9081e7 astcenc-5.5.0-windows-x64.zip