.
QQ扫一扫联系
现在文库转码到加密文档,会转码失败,提示一个日志:Wenku.BinDocConverterProvider.result -> "GPL Ghostscript 10.00.0: \n **** This file requires a password for access.\n **** Error: Couldn't initialise file.\n Output may be incorrect.\n\nRequested FirstPage is greater than the number of pages in the file: 0\n No pages will be processed (FirstPage > LastPage).\nconvert-im6.q16: no images defined `/www/wwwroot/xxxxxx.com/public/temp/53166_zavy_2391.pdf.png' @ error/convert.c/ConvertImageCommand/3229.\n"
现在每次需要手动把pdf传到PDF解密工具中,去掉密码。然后再替换掉文库中原来加密的文件,才能正常转码。每次人为手动干预太麻烦了。
1.之前看到魔众工具箱里面是有pdf解密的,希望能把这个功能单独抽出来,做成单独模块售卖也可以,需要能集成到文库里面。
2.大概的业务逻辑是,如果转码遇到加密pdf,先调用“pdf解密(密码去除)”,然后保存,最后再回到原有逻辑正常转码。
.
有批量解密的工具吧,这个使用率太低了,可以提交一个需求到需求墙上投票看一下