in reply to Editing text in PDF file
If you have ImageMagick set up properly, you can convert it with:
and back with:convert myfile.pdf myfile.ps
You can convert the pdf to xml with pdftohtml using the -xml option, but I don't know how to make the resulting xml back into pdf. Perhaps one of the perl pdf modules would be able to do most of the work.convert myfile.ps myfile.pdf
You can also work with the pdf data directly. The format is nicely documented by Adobe. I have read and written pdf files directly with low-level perl code, but now there are modules that make this much easier.
If you want to learn more about pdf I recommend pdfzone, which includes information about both commercial and open-source tools for working with pdf.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Editing text in PDF file
by gnum (Novice) on Apr 15, 2004 at 00:52 UTC | |
by toma (Vicar) on Apr 16, 2004 at 05:10 UTC |