2

I just want to know if Mozilla's pdf.js can modify PDFs or it is just strictly for viewing PDFs only.

developarvin
  • 4,811
  • 12
  • 52
  • 98
  • 1
    It converts PDF's to HTML5 so you can access the content like any other HTML element, but the script does not currently support modifying during/before convertion as far as I know. – adeneo Aug 23 '12 at 06:04

1 Answers1

4

No. pdf.js is currently only a PDF reader (renderer), as stated by their README. Check out Generating PDF files with Javascript if you want to generate PDFs with Javascript.

Community
  • 1
  • 1
nneonneo
  • 162,933
  • 34
  • 285
  • 360