House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

Follow-up: PDF generation running excrutiatingly slow

Author:
Andy Matthews
12/14/2007 09:49 AM

Rob... Images are controlled by the user. They FTP them to the server, then add them to the database so that they can be selected in the admin app. There are 3 widths of images, 200, 300, and 600 by however tall they end up being. The proposal is broken down into distinct modules (<div class="modCont">) and there could be any number of modules in a single proposal. I don't care so much about the file size, but the generation time is an absolute deal break. I didn't notice that about the open tags...I'll have to look into that. I thought I had coded the HTML well. Yes, I know about the page breaks...it looks horrible like that, but I'm not sure how to fix it. The proposals will always be fairly similar in appearance, if not in content. There will always be images, there will always be a fair amount of text, etc. However the modules and their contents will be in whatever order the user specifies. So I can't rely on "this" module being on a specific page, etc. Thanks for your input man, I appreciate it. Andy, The file size is huge.  2.8 MB when it finally finishes.   I took your code, and did it locally, now I don't have all of the pictures in mine, and there were a couple of open tags (an H1 at the beginning and a div somewhere), but it generated in 2823 ms and the PDF is only 560 kb.  With the images, it is killing everything.  I will get the time, but the inclusion of the images is the problem. so 142438 ms and 2.8 mb with Images... What are the file sizes of the images?  Maybe with reduction in image size would help? Rob


Search cf-talk

June 18, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
             1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30             

Designer, Developer and mobile workflow conference