开发者

PHP Based PDF Modification Framework / Package

I'm looking around to see if there are any php packages that would be helpful for creating a solution that is similar to how Cafepress.com handles their custom designs. Basically we are building a marketing portal where users can log in, select a PDF and then add custom text and graphics to it and then e-mail it out to a list of c开发者_如何学编程ustomers. Obviously we're going to need PHP, JQuery and some sort of image rendering library like IMAGEMAGIK, but just wondering if anyone had any further advice.

As always any help is greatly appreciated.


Have had some success with DOMPDF. Although thats from DOM to PDF, not existing PDF to PDF. http://code.google.com/p/dompdf/


For the pdf modification part, I think you can use the fpdi library. I got to use it for some simple changes on a pdf (setting some fields for the user) and it worked pretty well.

The problem is you still have to display the pdf to your user and get what changes he wants. Maybe try to find some pdf to png tool.

But I don't think a php/html/javascript stack is a good solution for what you want to do. I'd check what Flash or Silverlight can offer if I was you.


wkhtmltopdf is a command-line tool that converts html pages into pdf documents using a built-in Webkit (Safari) rendering engine. That is, you create an ordinary html page in php and then simply convert in to pdf. Quite practical!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜