Shipping on GitHub in Jan. 2027. Click to zoom:
Richard Geldreich's Blog
Co-owner of Binomial LLC, working on GPU texture interchange. Open source developer, Open Geospatial Consortium member, graphics programmer, former video game developer. Worked previously at SpaceX (Starlink), Valve, Ensemble Studios (Microsoft), DICE Canada.
Saturday, December 5, 2026
Friday, December 4, 2026
Basis Universal v3.0: XUASTC 4x4, 8x8 and 12x12 arithmetic R-D graph
See this red line? This is what AI (via "astcg" - our next ASTC encoder) gives Binomial's XUASTC LDR codec: higher quality at same bitrate, or lower bitrate at the same quality. As the frontier models get better, our codecs get better.
At 8x8: Roughly ~7–11% less bitrate vs. basisu public across Q40–Q80, up to -13% to -16% on RGBA around Q90, while encoding ~3x faster.
At 8x8: Roughly ~7–11% less bitrate vs. basisu public across Q40–Q80, up to -13% to -16% on RGBA around Q90, while encoding ~3x faster.
Note this is not factoring in LRDO, which is also new to our XUASTC encoders and is supported by all three profiles (Zstd, hybrid, and arithmetic). LRDO results in compounding gains.
12x12
Monday, November 30, 2026
astcg: our first AI authored ASTC LDR encoder
Our new ASTC encoder "astcg" (G=Gemini), in XUASTC LDR mode, is working inside of Basis Universal now using WASM SIMD. It's 100% authored by Neon/Hydrogen, using techniques I developed earlier this year. It'll be shipped in Jan. 2027, in Basis Universal v3.0. It was going to be v2.6, but with all the improvements/features coming, we decided on v3.0.
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).
Monday, November 9, 2026
Basis Universal v2.6 update
basisu_pack: a new command line tool is being added to the Basis Universal open source library, shipping in Jan. 2027. Real-time, high quality GPU texture format encoders for any platform, for virtually any GPU texture format: LDR, HDR, BC1-7, ASTC (all 14 block sizes for LDR, 2 block sizes for HDR), ETC1/2, PVRTC1 etc. - all using our own encoding tech. It writes .DDS, .KTX, .KTX2, and .ASTC.
We have the real-time analytical encoders (for transcoding purposes), so now we're going to expose them via API's and tooling. They don't need SIMD, yet many of them are faster than other older search-based SIMD encoder designs.
Also coming: Official Python wheels for several platforms, transcoding performance increases, and large XUASTC compression ratio improvements.
Our CLI's are shipped as both native or as secure WASM WASI executables.
We have the real-time analytical encoders (for transcoding purposes), so now we're going to expose them via API's and tooling. They don't need SIMD, yet many of them are faster than other older search-based SIMD encoder designs.
Also coming: Official Python wheels for several platforms, transcoding performance increases, and large XUASTC compression ratio improvements.
Our CLI's are shipped as both native or as secure WASM WASI executables.
Wednesday, October 28, 2026
Tuesday, October 27, 2026
Neural JPEG artifact reduction in C++
Designed to be trivial to drop into any program, it filters an already decoded 32bpp RGBA JPEG image. A little helper is provided to extract the DCT quality factor, which is also fed into the MLP:
https://github.com/richgel999/jpegc_deblockThe model's ~2.2k weights are in a single header. It was trained on an RTX 5090, using libjpeg with a custom training engine.
"A 7x7-window MLP (52 inputs: the luma window as differences from the centre, the centre's luma, the 8x8 block phase, the quality factor; hidden 32 and 16, leaky ReLU; one linear output) that predicts a luma correction added to R, G and B, equivalent to a Y-only correction in YCbCr. Trained by finite differences on 514 PNGs round-tripped through baseline JPEG at qualities 30..95. On held-out images it gains about +0.95 dB luma PSNR at quality 30, +0.9 at 40, +0.7 at 80. About 20 Mpx/s on 32 threads, 1.6 Mpx/s on one."
Saturday, October 24, 2026
Subscribe to:
Posts (Atom)





