Sunday, August 5, 2007

Flatten PDF

To flatten our PDF files, we have to convert PDF Files become Postscript files, then convert Postscript files become PDF. We can use PSTOEdit which use pdf2ps and ps2pdf from ghostscript to flatten PDF files. We can use:
System("pstoedit input.pdf output.pdf -f gs:pdfwrite") then we can get the results.

No comments: