[HN Gopher] Show HN: Pdfscale
___________________________________________________________________
Show HN: Pdfscale
Bash Script to scale and/or resize PDFs from the command line. Uses
ghostscript (gs) to create a scaled and/or resized version of the
pdf input.
Author : sargstuff
Score : 26 points
Date : 2024-06-21 23:17 UTC (4 days ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| notrealyme123 wrote:
| I think I did not run into a use case yet. Could you give a
| example?
| throwanem wrote:
| I might use this for better margins when printing PDFs I didn't
| generate for bookbinding; it's not rare PDFs (research papers,
| etc) are rendered with shallow margins for full-page print,
| maybe with a deeper gutter to allow for three-hole punching,
| but a perfect-bound book requires deeper margins all around to
| account for trimming and since PDF doesn't reflow, downscaling
| is the only feasible option.
|
| Granted, this is something I already have a workflow for, so I
| don't actually need this particular tool. But if I were
| assembling such a workflow, I might well consider this as part
| of it.
| apwheele wrote:
| I have not used this specific tool, but have used
| https://community.coherentpdf.com/ for the
| cropping/rescaling. And in general "printing" (posters) is
| what I have used it for (books make sense though as well).
|
| Depending on the site and what you are doing it may auto-
| rescale, I try to make it exact though just to prevent any
| nonsense on their end (and in Adobe PDF you can print tile to
| check it out as well in actual size).
| thih9 wrote:
| You might want to make the content of a pdf as big as possible
| (e.g. to zoom/scroll less on an eink device). This tool could
| help, you could use it to remove margins or otherwise crop.
___________________________________________________________________
(page generated 2024-06-26 23:01 UTC)