# astcg: our first AI authored ASTC LDR encoder

> Source: <https://richg42.blogspot.com/2026/11/astcg-our-first-ai-authored-astc-ldr.html>
> Published: 2026-12-01 03:49:43+00:00

**Key takeaway:** An AI-authored ASTC LDR encoder can reach 0.374 bpp on 12x12 blocks by combining an XUASTC LDR arithmetic profile, threaded row-strip transcoding, WASM SIMD IDCT and in-loop deblocking.

The next step is to wire astcg up to plain ASTC/LZRDO ASTC outputs, too. This is now my 3rd full ASTC LDR encoder. 

I can keep improving and refining this over time as the frontier models keep improving, relentlessly for years.

Screenshot: supercompressed ASTC 12x12 (XUASTC LDR arithmetic profile, threaded transcoding of each row strip, WASM SIMD IDCT), 0.374 bpp, in-loop deblocking (using a tiny pixel shader for filtered reconstruction).
