From b36f8331a0eabd4e2d3923174645d419e2086130 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 11 Dec 2022 19:51:20 +0100 Subject: reference stackoverflow note about cropping --- USE.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/USE.md b/USE.md index 205c1c7..89f1b69 100644 --- a/USE.md +++ b/USE.md @@ -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 + Compute BoundingBox for each page individually (*not* across them all): gs -q -dBATCH -dNOPAUSE -sDEVICE=bbox -dLastPage=1 input.pdf 2>&1 | grep %%BoundingBox -- cgit v1.2.3