Quote:
Originally Posted by yokos
Well, I tried this; I didn't worked for me. Adobe Reader can't read this file anymore. Perhaps I did it the wrong way.
|
For instance it doesnt work with sed, because it wipes away the null characters or something so. It is a pity because
cat prueba.pdf | sed 's/MediaBox \[.*\]/MediaBox \[0 0 300 500\]/g' > prueba2b.pdf
sounds elegant. I wonder if there is some utility to transform binary pdf files to text and back.