Earlier quoted context omitted.
incompetence
You can read about it here https://pdfa.org/brotli-compression-coming-to-pdf/
ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss
21–30 of 116 posts
Re: ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss
#22Earlier quoted context omitted.
You can read about it here https://pdfa.org/brotli-compression-coming-to-pdf/
That mentions zstd in a weird incomplete sentence, but never compares it.
Re: ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss
#23Earlier quoted context omitted.
You can read about it here https://pdfa.org/brotli-compression-coming-to-pdf/
That mentions zstd in a weird incomplete sentence, but never compares it.
> Experts in the PDF Association’s PDF TWG undertook theoretical and experimental analysis of these schemes, reviewing decompression speed, compression speed, compression ratio achieved, memory usage, code size, standardisation, IP, interoperability, prototyping, sample file creation, and other due diligence tasks.
Re: ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss
#24Re: ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss
#25Earlier quoted context omitted.
yup, zstd is better. Overall use zstd for pretty much anything that can benefit from a general purpose compression. It's a beyond excellent library, tool, and an algorithm (set of). Brotli w/o a custom dictionary is a weird choice to begin with.
Brotli makes a bit of sense considering this is a static asset; it compresses somewhat more than zstd. This is why brotli is pretty ubiquitous for precompressed static assets on the Web. That said, I personally prefer zstd as well, it's been a great general use lib.
zstd is Pareto better than brotli - compresses better and faster
Re: ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss
#26How can iText claim that adding Brotli is not a backward incompatible change (in the "Why keep encoding separate" table)? In the first section the author states that any new feature must work seamlessly with existing readers. New documents created that include this compression would be unintelligible to any reader that only supports Deflate. Am I missing something? Adoption will take a long time if you can't be confi…
It's prototypish work to support it before it land's in the official specification. But it will indeed take some adoption time. Because I'm doing the work to patch in support across different viewers to help adoption grow. And once the big opensource ones ship it pdfjs, poppler, pdfium, adoption can quickly rise.
Re: ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss
#27Why not zstd?
"Brotli is a compression algorithm developed by Google."
They have no idea about Zstandard nor ANS/FSE comparing it with LZ77.
Sheer incompetence.
Re: ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss
#28Earlier quoted context omitted.
Brotli makes a bit of sense considering this is a static asset; it compresses somewhat more than zstd. This is why brotli is pretty ubiquitous for precompressed static assets on the Web. That said, I personally prefer zstd as well, it's been a great general use lib.
You need to crank up zstd compression level. zstd is Pareto better than brotli - compresses better and faster
Re: ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss
#29tl;dr Commerical entity is paying to have the ISO altered to "legalize" their SDK they are pushing which is incompatible with standard PDF readers. ISO is pay to play so :shrug:
It's not even clear that they were the ones suggesting inclusion. They're just saying their library now supports the new thing. https://pdfa.org/brotli-compression-coming-to-pdf/ > As of March 2025, the current development version of MuPDF now supports reading PDF files with Brotli compression. The source is available from github.com/ArtifexSoftware/mupdf, and will be included as an experimental feature in the upcomi…
MuPDF is an excellent PDF reader, the fastest that I have ever tested. There are plenty of big PDF files where most other readers are annoyingly slow.
It is my default PDF and EPUB reader, except that in very rare cases I encounter PDF files which MuPDF cannot understand, when I use other PDF readers (e.g. Okular).