Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cfdocument, slow to print with JPG images

Status
Not open for further replies.

bdog2020

Instructor
Jun 16, 2003
203
US
Hi All,
I have a weird one. I developed a fairly complex cfdocument report with JPEG images. It worked fine in my test environment, producing a 185 page document in about 10 seconds.

But, as soon as I moved it over to production (CF 7.0.2 Cumulative Hotfix 3 running on Server 2003/IIS 6.0), it takes 30-60 seconds for even 5 pages of the report.

I've been looking at tons of threads online, and see a lot of issues with images. I've tried file:/// links, and none of that helps. My problem isn't displaying the images, they show up, but the PDF takes forever to create.

Then, I tried a funny thing. I switched the images to PNG, and the PDF created as quick in production as it did in my test environment. So, definitely the problem is rendering JPG images into PDF's.

I noticed a thread about issues with JPEG image color model (mine are all RGB) and something about a JDK function that CF uses for that.
Maybe that's my problem, the version of JDK in my production environment?

thanks for reading this far!
--MB
 
by the way, forgot to mention, I get the same info when I do 'java -version' at the command line between my test environment and production, and I'm at the same CF 7.0.2. with Cumulative Hotfix 3 in my test environment.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top