in reply to Edit PDF Text
It might be easiest to uncompress the PDF with pdftk and then just use perl for the substitution:
If you want to recompress the file,pdftk old.pdf output new.pdf uncompress perl -pi -e 's/oldstring/newstring/g' new.pdf
pdftk new.pdf output new_compress.pdf compress
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Edit PDF Text
by avik (Novice) on May 17, 2006 at 17:17 UTC |
In Section
Seekers of Perl Wisdom