Ruby library for manipulating existing PDF [closed]

谁说胖子不能爱 提交于 2020-01-24 12:26:52

问题


I'm searching for a library to edit already existing PDF's and add a watermark to each page, for example. Could also be blank every other page etc.

There seem to be a few PDF libraries out there, but only very few of them can edit existing PDF's and I'm a bit lost on which way to go.

Any recommendations?

Thank you.


回答1:


You may want to think about using a java library through jruby. I'm not hearing a lot of good things about the PDF libraries for ruby. Something to think about if you are getting desperate.




回答2:


I have a prawn branch that has this functionality. Unfortunately it's yet to be merged upstream, but I'm hopeful it will happen soon. For more information, try searching the prawn google group for "templates".



来源:https://stackoverflow.com/questions/2458472/ruby-library-for-manipulating-existing-pdf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!