Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Scale output to a constant output format (A4) #16

Open
Wikinaut opened this issue Sep 22, 2015 · 1 comment
Open

Scale output to a constant output format (A4) #16

Wikinaut opened this issue Sep 22, 2015 · 1 comment

Comments

@Wikinaut
Copy link

Redacted images may have different sizes. Add an optional flag to force constant output size.

@Wikinaut
Copy link
Author

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

@Wikinaut Wikinaut changed the title add a flag to force a constant output format (A4, letter, ...) add a flag to scale to a constant output format (A4, letter, ...) Sep 22, 2015
@Wikinaut Wikinaut changed the title add a flag to scale to a constant output format (A4, letter, ...) Scale output to a constant output format (A4) Sep 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant