mikefrederick Posted February 19, 2008 Share Posted February 19, 2008 I am uploading a bunch of pdf files and as of now I am opening each one and saving the first page and then uploading it as a preview of the other file. Anyone know of any way that I could do this automatically? I would like to be able to preview 2 pages of each file, although I realize that I might have to just select a number of bytes... Quote Link to comment Share on other sites More sharing options...
aschk Posted February 19, 2008 Share Posted February 19, 2008 Use PDFLib, create new PDF object with the pdf file as the source. Take the first page and copy it into a new PDF object. Save new pdf object as preview et voila Quote Link to comment Share on other sites More sharing options...
mikefrederick Posted February 19, 2008 Author Share Posted February 19, 2008 I was working with PDFLib, but could not figure out how to edit a file, could you show an example? Seems adding pages and whatnot is easy, but editing the existing file is not. Quote Link to comment Share on other sites More sharing options...
mikefrederick Posted February 19, 2008 Author Share Posted February 19, 2008 anyone? Quote Link to comment Share on other sites More sharing options...
mikefrederick Posted February 19, 2008 Author Share Posted February 19, 2008 anyone have a good way to do this? Quote Link to comment Share on other sites More sharing options...
mikefrederick Posted February 19, 2008 Author Share Posted February 19, 2008 cmon guysss Quote Link to comment Share on other sites More sharing options...
mikefrederick Posted February 22, 2008 Author Share Posted February 22, 2008 Still lookin for an answer if it's out there. Quote Link to comment Share on other sites More sharing options...
maexus Posted February 23, 2008 Share Posted February 23, 2008 Have you read http://us2.php.net/pdf Quote Link to comment Share on other sites More sharing options...
mikefrederick Posted February 24, 2008 Author Share Posted February 24, 2008 yeah, don't see anyway it is possible Quote Link to comment Share on other sites More sharing options...
mikefrederick Posted February 24, 2008 Author Share Posted February 24, 2008 I finally figured this out and if anyone needs to know how to do it let me know. Quote Link to comment Share on other sites More sharing options...
AndyB Posted February 24, 2008 Share Posted February 24, 2008 I finally figured this out and if anyone needs to know how to do it let me know. It might help others who read/find this thread if you post a synopsis of the solution. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.