[Poppler-bugs] [Bug 45108] New: Add trimBox support to pdftoppm/pdftocairo/pdftops
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Jan 22 22:54:58 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=45108
Bug #: 45108
Summary: Add trimBox support to pdftoppm/pdftocairo/pdftops
Classification: Unclassified
Product: poppler
Version: unspecified
Platform: x86 (IA32)
OS/Version: Mac OS X (All)
Status: NEW
Severity: enhancement
Priority: medium
Component: utils
AssignedTo: poppler-bugs at lists.freedesktop.org
ReportedBy: chocolate.camera at gmail.com
pdftoppm and pdf-cairo has the -cropbox option in order to "use the crop box
rather than media box" of a PDF. How about the trimBox?
Right now, in order to get a PDF cropped using the trimBox, one has first to
run `pdfinfo -box` on the PDF file, take note of the trimBox size which is in
points, and then play with `pdftoppm -x ## -y ## -W ## -H ##`, for example,
which are in pixels and hence dependent on the X/Y resolution in DPI being
used. Pretty convoluted…
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Poppler-bugs
mailing list