Print Page | Close Window

Merge Files

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=334
Printed Date: 19 May 24 at 7:43AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Merge Files
Posted By: jtjtjt
Subject: Merge Files
Date Posted: 26 Feb 06 at 1:16AM
I've got 37 PDF files (approximately 33 MB) that I want to merge into one PDF. (They are 37 separate chapters of the same reference manual.)

I was originally planning on using MergeFileList, but am thinking differently after reading http://www.quickpdf.org/forum/forum_posts.asp?TID=296&PN=1 .

In the post, if I'm understanding it correctly, it mentions that the problem is avoided if you capture and impose the files. I've searched the help files and know how to capture a file, but am unsure about the imposition stuff.

Could anyone shed some light on this subject for me? Or, does anyone know if this has already been fixed?

Thanks!

jt



Replies:
Posted By: jtjtjt
Date Posted: 26 Feb 06 at 5:06AM
I guess I should have tried it first :) I had some problems with MergeFileList. It took 50% cpu and never created an output file. I let it run for about 15 minutes.

I then changed MergeFileList to MergeFileListFast (that's the only change) it worked perfectly.

Anyhow, the size of the 37 totals? 34,885,019 bytes.
The new merged file? 34,507,077 bytes.

Hope this is helpful to someone else out there :)

jt


Posted By: jtjtjt
Date Posted: 26 Feb 06 at 5:21AM
This is weird. I didn't know that the merge file stuff would merge the files in the opposite order they were added with the addtofilelist function, so I changed my source
code to call the files in reverse.

Anyhow, after running this new program the resulting file was 38,985,548 bytes. I ran the old program again and the file came to 38,774,197 bytes.

It's not a huge jump, but I am curious as to to increase, and as to why there is a 211,351 byte difference depending on the order in which the files were added to the list.

Thanks again!

jt



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk