s2c-code-share

Automation Script Example: Converting Vector PDFs

Dec 11th, 2020 (edited)
303
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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()))
RAW Paste Data