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. -----Original Message----- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Friday, December 14, 2007 8:23 AM To: CF-Talk Subject: Re: Follow-up: PDF generation running excrutiatingly slow 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294777 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

