RenderToPDF: compress images