How do I convert images (PSD, AI and EPS) to PDF?

霸气de小男生 提交于 2019-12-03 16:21:01

Photoshop is going to be a tough one, as is Adobe Illustrator. I'm unaware of any kind of command line utility that will export those to PDF. EPS is Encapsulated Post Script, meaning you may have some luck if you grab a copy of GhostScript. It'll depend on how the EPS was created though, and I'd consider it iffy at best.

Corel Draw, AFAIK, is proprietary. I know that you can export the file to PDF from within their program, but I am not aware of any kind of command like utility to accomplish the same (I also worked for a printing company, so I'm fairly familiar with the formats you're referring to).

One solution that does support all of those formats, as well as exporting to PDF, is Gimp. In addition, you can script Gimp with Python.

http://www.gimp.org/docs/python/index.html

It sounds like you can install arbitrary software on the Django server, so as long as you have access to the X server (GUI) this is possible.

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