Add background color to PDF
magick -size 595x842 xc:'#f5f5dc' bg.pdf
pdfcpu watermark add -mode pdf -- bg.pdf "scale:1.0, op:0.8, rot:0" alto.pdf output.pdf
writing output.pdf...
optimizing...
magick -size 595x842 xc:'#f5f5dc' bg.pdf
pdfcpu watermark add -mode pdf -- bg.pdf "scale:1.0, op:0.8, rot:0" alto.pdf output.pdf
writing output.pdf...
optimizing...