How to optimize performance ?

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Rad1
User
Posts: 108
Joined: Wed May 13, 2009 2:21 pm

How to optimize performance ?

Post by Rad1 »

Hi,

is there any way to optimize performance whene saving file changes. I see it makes a long time for a 4Mb file. I have to modify file larger than 40 Mo.

I have read that it is possible to save the file in optimized format (for web publication ). Can you give me more information about this, and how to optimize the saving time.

Regards.
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: How to optimize performance ?

Post by Corwin - Tracker Sup »

Sorry, but there is no parameters that you can change for optimizing PDF saving.
User avatar
Lzcat - Tracker Supp
Site Admin
Posts: 677
Joined: Thu Jun 28, 2007 8:42 am

Re: How to optimize performance ?

Post by Lzcat - Tracker Supp »

Can you provide sample file which Viewer save too long? Also please specify your PC configuration (CPU, RAM, HDD) and which perfimance affecting software is runnig (like antiviruses, debugers, etc).
In most cases save save should be fast, and save time in most cases does not seriously depends on file size, but on document structure (you may have 100Mb file with one huge image on single page, it will save faster than file which has 10000 pages and size below 50 Mb).

Optimize pdf for fast web view mean save pdf file in linearized format. This allow some readers to display first page(s) of file even it is not completely downloaded yet. For now Viewer do not support such format (and even it will - save using will take more time because some additional job must be done before saving).

Fastest way to save PDF document is use incremental update - in this case only changes will be appended to existing document. But this method has two disadvantages - file beacame larger (for example if you edit one annotation ten times and save after each edit file will contain ten copies of annotation) and broken files will be not corrected.
Victor
Tracker Software
Project manager

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Rad1
User
Posts: 108
Joined: Wed May 13, 2009 2:21 pm

Re: How to optimize performance ?

Post by Rad1 »

Hi,

thanks for response. The pdf I test is http://www.adobe.com/devnet/acrobat/pdf ... erence.pdf

:lol: I think it is because I used the demo version, and for this version, when I save changes it marks DEMO Watermark in each page. That's means 769 Watermark + other changes.

Thank you. Good work !

PS : have you any idea about when the Digital signature options will be available ?
User avatar
Lzcat - Tracker Supp
Site Admin
Posts: 677
Joined: Thu Jun 28, 2007 8:42 am

Re: How to optimize performance ?

Post by Lzcat - Tracker Supp »

For sure adding watermark is time consuming operation (it reads and modifys each page), so the non-trial version will work faster.

The Question is only how much faster (on my PC even with demo watermarks Viewer works fast enough, as for file with several hundreds of pages)...
Victor
Tracker Software
Project manager

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Rad1
User
Posts: 108
Joined: Wed May 13, 2009 2:21 pm

Re: How to optimize performance ?

Post by Rad1 »

I use an Activex demo version !

and my PC configuration is :

DELL Vostro 400 , Intel Core 2 Duo E6750 2,66 Ghz, 2Go RAM
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3586
Joined: Thu Jul 08, 2004 10:36 pm

Re: How to optimize performance ?

Post by Ivan - Tracker Software »

Rad1 wrote:PS : have you any idea about when the Digital signature options will be available ?
We are expecting to make it available in build 42.1.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
Rad1
User
Posts: 108
Joined: Wed May 13, 2009 2:21 pm

Re: How to optimize performance ?

Post by Rad1 »

Okey, Good news !
Regards. :wink: