PDF management with PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
spramod
Forum Newbie
Posts: 1
Joined: Fri Aug 25, 2006 4:18 am

PDF management with PHP

Post by spramod »

If PDFlib or any other pdf generating component exists that can perform the following tasks. Any Idea?

PDF conversion / modification

We need the functionality to convert a PDF file to a) a PDF file with lower resolution, and b) a JPEG/PNG file for

previewing in the browser. We also need to be able to crop or resize a PDF file.



PDF preflight

Integrating some sort of PDF preflight that checks certain key aspects of a PDF file, such as font embedding, image resolution
etc.

Impositioning
Create a hi-resolution PDF file with the size of the printing press and step up the artwork automatically. This
should include a calculator that guarantees maximum usage of the space using landscape or portrait tiles or
a combination of both.
User avatar
wtf
Forum Contributor
Posts: 331
Joined: Thu Nov 03, 2005 5:27 pm

Post by wtf »

User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

PDFLib can do that, but you need to by the additional PDO section. I don't really think there is a way to edit a PDF other than that method. You may be able to do some funky stuff with printing to a JPG printer or a PDF printer & sending resizing parameters to that.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply