在一个pdf或ps文件上覆盖另一个 [英] overlay one pdf or ps file on top of another

查看:222
本文介绍了在一个pdf或ps文件上覆盖另一个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个pdf或postscript文件(我可以使用任一文件).我想做的是将每个页面都合并在一起,以便将文档A的page1与文档B的页面1合并以生成输出文档的页面1.尽管这会有所帮助,但我不一定非要以编程方式执行此操作.

I have two pdf or postscript files (I can work with either one). What I want to do is merge each page on top of the other so that page1 of document A will be combined with page 1 of document B to produce page 1 of the output document. This isn't something I necessarily want need to do programatically, although that would be helpful.

有什么想法吗?

推荐答案

您可以使用命令行工具

You can do this with pdf files using the command line tool pdftk using the stamp or background option.

例如

$ pdftk file1.pdf background file2.pdf output combinedfile.pdf

这仅适用于一页背景文件.如果您有多个页面,则可以使用 multibackground 命令代替.

This will only work with a one-page background file. If you have multiple pages, you can use the multibackground command instead.

这篇关于在一个pdf或ps文件上覆盖另一个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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