diff options
-rw-r--r-- | USE.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -80,6 +80,8 @@ and test if running the command succeeds. Ghostscript can virtually render each page and compute the area used, useful e.g. for cropping a PDF. +TODO: Add section on cropping, based on <https://stackoverflow.com/a/10418720/18619283> + Compute BoundingBox for each page individually (*not* across them all): gs -q -dBATCH -dNOPAUSE -sDEVICE=bbox -dLastPage=1 input.pdf 2>&1 | grep %%BoundingBox |