|
Prev: Java memory error in Coldfusion
Next: Query Issue...
From: Gauthier323 on 18 Apr 2008 15:56 Is it possible to convert a PDF document that a user uploaded to JPG format on the server using ColdFusion 8? If not, is there a product that can do so?
From: -==cfSearching==- on 18 Apr 2008 23:19 Take a look at the cfpdf tag. You can use the thumbnail attribute with whatever percentage is needed.
From: BKBK on 20 Apr 2008 08:38 I second -==cfSearching==-. May I share my first experience with the thumbnail functionality in cfpdf. I copied the following code from the Adobe CF 8 documentation and applied it to a 158 page document, db4o.pdf. Coldfusion duly created the directory and 158 Jpegs (one per page) in 50 seconds. <!--- Generate a thumbnail image for each page in the PDF source document, create a directory (if it doesn't already exist) in the web root that is a concatenation of the PDF source name and the word "thumbnails", and save the thumbnail images in that directory. ---> <cfset mypdf="db4o"> <cfpdf action="thumbnail" source="#mypdf#.pdf" overwrite="yes" destination="#mypdf#_thumbnails" scale="100"> done thumbnailing every page!
|
Pages: 1 Prev: Java memory error in Coldfusion Next: Query Issue... |