perl - Change the width of all lines in a PDF programmatically -


i made handwritten slides using ipad app, , found out line thin projected on big screen in room.

unfortunately app doesn't have ability change stroke widths afterwards... (geez.) have exported pdf file.

as programmer should able solve problem programmatically, by
changing width of lines on pdf by, say, factor of two.

so, question easiest way achieve objective. there perl module allows me inspect lines on pdf, example?

-- update

ok, converted pdf ps file via ps2pdf (which uses ghostscript), , replaced 3 w 6 w etc. using text editor. (here w macro expanding setlinewidth.) converted resulting ps file pdf. problem solved.

but there nicer way?

you use inkscape convert .pdf .svg, parse script (python, example, doesn't matter), convert .pdf . if isn't enough programmatic, command line option available:

>inkscape -l test.pdf output.svg 

and after processing:

>inkscape -l processed.svg final.pdf 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -