Advertisement
s2c-code-share

Automation Script Example: Converting Vector PDFs

Dec 11th, 2020 (edited)
737
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. pdfs = s2c.list("path/to/input_directory", "pdf")
  2. for p in pdfs:
  3.      pp = p.open()
  4.      pp.save(s2c.FileType.VECTOR, s2c.join("path/to/output_directory", p.get_name()))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement