Hot answers tagged

2 votes

Error in converting a PDF to a PNG in ImageMagick

I'm using ImageMagick 7.1.1-8 and just had the same issue: $ magick example.pdf output.png magick: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG `output.png' @ warning/png.c/...
finefoot's user avatar
  • 179
2 votes

How to count pages in multiple PDF files in Windows 10?

Beautiful Excel and VBA solution here: https://www.extendoffice.com/documents/excel/5330-excel-vba-pdf-page-count.html Open a worksheet where you want to get the Pdf files and page numbers. Hold down ...
PR1's user avatar
  • 21
1 vote
Accepted

Apply watermark to every pdf on a directory

You can use a for loop like this: for file in *.pdf; do pdftk "$file" stamp watermark.pdf output "WM-$file"; done
Yisroel Tech's user avatar
  • 7,539
1 vote
Accepted

Scaling a PDF using Adobe Acrobat's preflight fixup doesn't scale document links with it

Running cpdf -scale-to-fit a4portrait in.pdf -o out.pdf should move the links and their destinations properly when scaling. If it doesn't, that's a bug, and you can send me a bug report with an ...
johnwhitington's user avatar
1 vote
Accepted

How to avoid Chrome "Save as PDF" encoding "fi" etc. as ligatures?

Unknown when or if the bug has been closed but issue persists as follows, currently using Chromium based Edge that character pair at source is not a ligature but distinctly separate characters. (In ...
K J's user avatar
  • 186
1 vote
Accepted

Change pdf page and font color displayed in internet browsers

Hmm Chrome currently still cannot but Older Browsers could be customised as much as you wished within their abilities, here inversion is simply pressI In Current Firefox you can set a bookmarklet for ...
K J's user avatar
  • 186
1 vote

Change pdf page and font color displayed in internet browsers

In Firefox version 112.02 this works for me: In the address bar type: about:config In the search field type: pdfjs Set these configuration options: pdfjs.forcePageColors true pdfjs....
A.J.Bauer's user avatar
  • 133
1 vote

How to keep the Highlighter tool selected in Skim?

You can select highlight as your main tool: You can click and hold the rightmost tool to have "highlight" as one of the default tools. This lets you highlight by default, and you shouldn't ...
Plooftech's user avatar
1 vote

How do I edit the printing margins \ borders of a PDF, in Adobe Acrobat Pro or Soda PDF Pro, in order to print the PDF?

The core problem is there are just too many PDF layouts and formats for generic printing to adjust each page to its optimum scale thus a print driver can rotate content and layout as multiple pages ...
K J's user avatar
  • 186
1 vote

How to convert PDF to Grayscale

Use mutool (version ≥ 1.22.1) to change the colorspace of PDF files. mutool recolor -c gray -o "gray.pdf" "color.pdf" See this answer.
lezambranof's user avatar
1 vote

How can the Table of Contents in a PDF file be edited?

You can use pdf.togen to edit the toc. use pdftocio to get the toc of the pdf edit the toc write back to the pdf with pdftocio command. Further more, if the pdf has no toc, you can also use pdf....
Sam Liao's user avatar
  • 416

Only top scored, non community-wiki answers of a minimum length are eligible