Open Wikinaut opened 8 years ago
http://stackoverflow.com/a/14538863/731798 has a working one-liner, which simply can be used as an after-burner to the output of pdf-redact-tools -merge :
gs -o out.pdf -sDEVICE=pdfwrite -sPAPERSIZE=a4 -dFIXEDMEDIA -dPDFFitPage -dCompatibilityLevel=1.4 in.pdf
Redacted images may have different sizes. Add an optional flag to force constant output size.