PDF/A error: LZWDecode compression is not allowed
PDF/A forbids the LZWDecode filter. Where it comes from and how to re-encode with Flate.
A stream is compressed with LZWDecode, which PDF/A forbids. Re-encode it with FlateDecode, which is allowed and usually smaller.
ISO 19005-1 clause 6.1 · File structure
What causes it
- An old application or export preset defaulting to LZW.
- Images imported from LZW-compressed TIFFs.
How to fix it
- Re-export with Flate (ZIP) compression.
- Convert the document. LZW to Flate is lossless.
Or drop the file into the converter, which fixes what it can in your browser.
FAQ
Why was LZW excluded?
It was patent-encumbered when the standard was written. Flate is free and usually smaller.
Does re-encoding degrade images?
No. Both are lossless.