OpenZL is the future: https://openzl.org/
"OpenZL delivers high compression ratios while preserving high speed, a level of performance that is out of reach for generic compressors. OpenZL takes a description of your data and builds from it a specialized compressor optimized for your specific format."The future may be ~ AI-assisted format detection + OpenZL
(~ OpenZL-AI-LLM recognises the data structure, then guides OpenZL toward the best lossless compression path )
OpenZL is nice, but it's often less useful than you think - it requires that you know the structure of your data, and don't care about inspecting that data outside of your program. I've extracted one too many png files from a word document (by renaming .docx to .zip) to desire OpenZL everywhere... It might be better as a short-term "data in transit" compression than for long term storage.