是否有一个npm模块来修改node.js中的pdf文件? [英] Is there an npm module to modify a pdf file in node.js?

查看:228
本文介绍了是否有一个npm模块来修改node.js中的pdf文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Bluemix上构建一个node.js应用程序,该应用程序应将pdf文件作为请求,然后将pdf文件的某些部分涂灰(空白).而且这里的pdf文件都是相同的,我们需要删去的区域将被固定.那么有人可以建议一个可以执行这种功能的npm模块吗?

I'm building a node.js app on Bluemix that should take a pdf file as request and then grey out (blank) some part of the pdf file. And also here the pdf file is the same for all, and the area we need to blank out will be fixed. So can anybody suggest an npm module that can perform this kind of functionality?

推荐答案

我建议您尝试 HummusPDF .请专门查看 Hummus-修改页,该页说明了如何编辑现有的PDF文档.在您的情况下,您可以尝试使用允许绘制形状的功能.

I suggest you to try HummusPDF. Specifically take a look at the Hummus - Modification page, that explains how to edit existing PDF documents. In your case you could try to use the feature that allows to draw shapes.

这篇关于是否有一个npm模块来修改node.js中的pdf文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆