Fix compression artefacts in PDF files