Search found 714 matches

by Lzcat - Tracker Supp
Wed Jun 29, 2011 6:30 am
Forum: PDF-XChange Viewer SDK
Topic: PDF Files with large bitmaps slow to display
Replies: 19
Views: 7494

Re: PDF Files with large bitmaps slow to display

pxcview.dll does not cache rendered page, but it cache internal PDF structure, decoded images, etc. PXCV_ReleasePageCachedData may releae them, so on each draw they will be decoded. Which parameters are you passing to PXCV_ReleasePageCachedData and how often do you call it?
by Lzcat - Tracker Supp
Mon Jun 27, 2011 5:37 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Converting TIF to PDF
Replies: 6
Views: 1740

Re: Converting TIF to PDF

Hi Christina. I'm affraid that there is not so many possibilities to speedup, but you may try to do following: 1. Rewrite your code to use several threads (best case - one thread per CPU core). If you have quad-core CPU you will get up to four times the speed. 2. Disable your antivirus/firewall (and...
by Lzcat - Tracker Supp
Fri Jun 24, 2011 7:17 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Combine two pdf files with internal link
Replies: 4
Views: 1961

Re: Combine two pdf files with internal link

Sorry, but links to external files will be not automatically converted to local when you are inserting that file to original (why does xcpro do this? It may not even know which pages from which file you are trying to insert). At the moment we do not provide functions to modify annotations (a link is...
by Lzcat - Tracker Supp
Fri Jun 24, 2011 7:08 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Converting TIF to PDF
Replies: 6
Views: 1740

Re: Converting TIF to PDF

Can you be more specific about your conversion process? Are you converting one tiff file to one pdf or multiple tiff to one file? And what exactly happens when you try to convert 2500 files?
Also, please make sure that you are using latest build (195 at the moment)
by Lzcat - Tracker Supp
Fri Jun 10, 2011 9:37 am
Forum: PDF-XChange Viewer (End Users)
Topic: String Display Error
Replies: 4
Views: 1735

Re: String Display Error

1. Your document corrupted, so it may be incorrectly displayed. 2. In your document used fonts are not embedded, so text may display incorretly - depends on fonts present in PC where it will be Viewed. 3. Your document use non-standard font names (local chineese insted of Unicode). Viewer doe not su...
by Lzcat - Tracker Supp
Tue Jun 07, 2011 8:06 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: text is garble
Replies: 19
Views: 5916

Re: text is garble

You can get all text from page (without positions) or each element with positions - same as in PDF content. Yes, in most cases words in PDF are splitted, and we do not provide mechanism to collate word fragments because there is alot of specific cases which require separate handling - text on curves...
by Lzcat - Tracker Supp
Mon May 30, 2011 6:23 am
Forum: PDF-XChange Viewer (End Users)
Topic: Complex PDFs extreamly slow when opened from network share
Replies: 7
Views: 2182

Re: Complex PDFs extreamly slow when opened from network sha

Hi lgitlitz.

Can you also do following test: copy file to your PC and open it locally?

Also, what type of LAN you are using? Local ethernet, VPN, or another configuration?
by Lzcat - Tracker Supp
Mon May 30, 2011 6:20 am
Forum: PDF-XChange Viewer (End Users)
Topic: can viewer support fonts in the viewer directory?
Replies: 8
Views: 1162

Re: can viewer support fonts in the viewer directory?

No. The current version of Viewer can use only system fonts for substitution.

I suggest a much better solution - embed the fonts in the document, so it will look the same on any computer.
by Lzcat - Tracker Supp
Wed Apr 27, 2011 3:03 pm
Forum: PDF-XChange Viewer SDK
Topic: Multi-thread access to the Simple Viewer DLL
Replies: 16
Views: 3108

Re: Multi-thread access to the Simple Viewer DLL

What you're saying is not so in our case. To create the TIFF file, we create a monchrome bitmap, select it into the DC, draw and save it as a TIFF file. There's no 32 bit bitmap. You do not create such a bitmap, but we create for internal usage, and this is true (I'm developer of that code, so trus...
by Lzcat - Tracker Supp
Wed Apr 27, 2011 12:10 pm
Forum: PDF-XChange Viewer SDK
Topic: Multi-thread access to the Simple Viewer DLL
Replies: 16
Views: 3108

Re: Multi-thread access to the Simple Viewer DLL

Sorry, but the internal representation uses 32 bit's per pixel, not one, so the internal buffer uses 732 MBytes and they are stored on harddrive.

You may do an easy test - use 150 DPI instead of 400 and see whether the performance will be reduced or not.
by Lzcat - Tracker Supp
Wed Apr 27, 2011 11:53 am
Forum: PDF-XChange Viewer SDK
Topic: Multi-thread access to the Simple Viewer DLL
Replies: 16
Views: 3108

Re: Multi-thread access to the Simple Viewer DLL

I think problem is in size - your image require 732 MBytes to be generated as HBITMAP, regardless TIFF format, and internal representation will use temporary file to keep such large data (instead of memory), and this may seriously degrade performance in case when two or more threads work with harddr...
by Lzcat - Tracker Supp
Wed Apr 27, 2011 10:59 am
Forum: PDF-XChange Viewer SDK
Topic: Multi-thread access to the Simple Viewer DLL
Replies: 16
Views: 3108

Re: Multi-thread access to the Simple Viewer DLL

johnr@etakeoff.com wrote:the different threads don't work on the same document simultaneously
That's strange, in such case there should be no problems described above. Can you provide one or more typical files which you process and say typical bitmap dimentions?
by Lzcat - Tracker Supp
Wed Apr 27, 2011 10:30 am
Forum: PDF-XChange Viewer SDK
Topic: Multi-thread access to the Simple Viewer DLL
Replies: 16
Views: 3108

Re: Multi-thread access to the Simple Viewer DLL

Hi John. pxcview was not specially designed to work with the same document using several threads, using several documents in different threads is completely safe. You may work with the same document in several threads, but with serious restrictions: do not call PXCV_ReleasePageCachedData , PXCV_Rele...
by Lzcat - Tracker Supp
Thu Apr 21, 2011 12:26 pm
Forum: PDF-XChange Viewer (End Users)
Topic: some pdf files cann't be displayed correctly in PDF-XChange
Replies: 9
Views: 1325

Re: some pdf files cann't be displayed correctly in PDF-XChange

Your file uses non-standard extensions for CJK fonts. It is not documented in PDF specification and cannot be used on any computer with a different OS locale (therefore we cannot see normal text here even in Acrobat - our OS are not chinese and have no corresponding fonts, both things are important)...
by Lzcat - Tracker Supp
Thu Apr 14, 2011 7:01 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: text is garble
Replies: 19
Views: 5916

Re: text is garble

Your document's use multibyte encodings which is not currently supported by xcpro40. Please wait for next major update.
by Lzcat - Tracker Supp
Thu Mar 31, 2011 6:40 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXC_ScaleImage loss quality
Replies: 1
Views: 960

Re: PXC_ScaleImage loss quality

Hi. No, there is no way to downscale images without loosing quality, even in theory - because of the nature of scaling. Regarding your situation - PXC_ScaleImage must convert the image to an 8 bit per channel representation in order to use bilinear scaling, so after scaling you may get 24 bit per pi...
by Lzcat - Tracker Supp
Fri Mar 25, 2011 11:14 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: OCR assisted solution
Replies: 1
Views: 1023

Re: OCR assisted solution

Hi. It is impossible to do as you described (not so simply), but a bit more complex solution is possible. You will need xcpro40 for text extraction and page dimentions and pxcview.dll to get rasterized page with required DPI. All you should do is process each page in PDF using following sequence: 1....
by Lzcat - Tracker Supp
Fri Mar 25, 2011 7:53 am
Forum: PDF-XChange Viewer (End Users)
Topic: No "file associations" entry in the menu.
Replies: 6
Views: 1013

Re: No "file associations" entry in the menu.

Sorry, portable version does not support file associations - because it is portable. Of course you may set file associations manually (using "Open With ..." from context menu in windows explorer), but portable version also does not support browser plug-ins. To manage file associations by Viewer and ...
by Lzcat - Tracker Supp
Fri Mar 25, 2011 7:33 am
Forum: PDF-XChange Viewer (End Users)
Topic: Notes blocked by a password
Replies: 1
Views: 492

Re: Notes blocked by a password

Sorry, this is not allowed by PDF specification.
Using password protection you can block document reading (until password supplied) and/or restrict some modifications (but for all same objects in document, so you cannot protect one annotation and not protect other).
by Lzcat - Tracker Supp
Fri Mar 25, 2011 7:29 am
Forum: PDF-Tools 4
Topic: Shell Extension: Display number of "incremental edition"
Replies: 3
Views: 1510

Re: Shell Extension: Display number of "incremental edition"

Sorry, this is not possible in current version (such information is not collected), and i'm affraid that we will not add this functionality until next major update (this does not mean that we will add it in initial V3 release, maybe in one of the following updates).
by Lzcat - Tracker Supp
Wed Mar 23, 2011 11:11 am
Forum: PDF-XChange Viewer (End Users)
Topic: Semi Off Topic: itextSharp and PDF-version
Replies: 5
Views: 2028

Re: Semi Off Topic: itextSharp and PDF-version

Regarding to PDF specification file version should be declared at the begining of file like %PDF-1.4 in your case. But later Adobe decided that it can be updated in document catalog ( /Version/1.5 in your case). Primary concern of such update - modifting document using incremental update (in this ca...
by Lzcat - Tracker Supp
Tue Mar 15, 2011 2:39 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXC_AddImage Types.
Replies: 3
Views: 1338

Re: PXC_AddImage Types.

Did you see this topic? It is not so far from your and I almost sure that you have same problem as described there.

If this is not so in your case - we will need sample files that fail to laod and a complete llist of libraries which you are using (including version numbers).
by Lzcat - Tracker Supp
Mon Mar 07, 2011 7:58 am
Forum: PDF-XChange Viewer (End Users)
Topic: Sick to my stomach over this file
Replies: 3
Views: 777

Re: Sick to my stomach over this file

Sorry, but your file cannot be recovered - it contains a lot of broken objects and most pdf document information is missing. Looks like the recovery toll you used was not quite successful with restoring this file.
by Lzcat - Tracker Supp
Mon Feb 28, 2011 12:28 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXC_AddImageW() returning "Invalid Image"
Replies: 5
Views: 2074

Re: PXC_AddImageW() returning "Invalid Image"

Hi Jeff.
Looks like fm40base.dll is missing (it must be located in same folder as ixclib40.dll) - it is required to support jpeg, png and may other formats except bmp (bilt-in support in ixclib40.dll) and tiff (requires fm40tiff.dll).
HTH.
by Lzcat - Tracker Supp
Wed Feb 23, 2011 7:07 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Delayed Write Failure saving PDFs with PXCp_WriteDocumentW
Replies: 3
Views: 1329

Re: Delayed Write Failure saving PDFs with PXCp_WriteDocumentW

You posted on wrong forum - this is end-user forum, for people who using PDF-Tools (Wizard), not SDK. :) We use standard Read/Write file routines using the Windows API, so windows caching is in effect, and we have no control over this (to bypass cache is not an option because of performance degradat...
by Lzcat - Tracker Supp
Mon Feb 21, 2011 8:11 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Secure Document
Replies: 5
Views: 1599

Re: Secure Document

Just to make sure I am fulling understanding this, if I am just using your PDF-Viewer program, goto file menu, document properties and on the document properties dialog, select security, and password security. In the Passwords and Permissions dialog, where I am asked for a Password to open the docu...
by Lzcat - Tracker Supp
Fri Feb 18, 2011 7:27 am
Forum: PDF-XChange Viewer SDK
Topic: Win7/2008 Server - PDFXCview premature death
Replies: 28
Views: 9821

Re: Win7/2008 Server - PDFXCview premature death

Hi DSSavant. Did you COMPLETELY read and undersand my comments about WM_QUERYENDSESSION and how it is working? I think not... Let's see whats going on: We have two applications - Yours (1) and theViewer (2). Yes, we have two applications, Viewer AX reside in separate process. When a user selects log...
by Lzcat - Tracker Supp
Fri Feb 18, 2011 7:04 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Secure Document
Replies: 5
Views: 1599

Re: Secure Document

A PDF file has two passwords - one for opening and the second for changing permissions. If either of them is blank - you can open PDF file without a password. Your trying to set an open password, but the permissions password is empty. You should do one of following: 1. Set both password to the same ...
by Lzcat - Tracker Supp
Thu Feb 17, 2011 8:03 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXC_SetTextLeading replying Bad DLL calling convention - VB6
Replies: 3
Views: 1224

Re: PXC_SetTextLeading replying Bad DLL calling convention - VB6

C++ declaration is PDFXCLIB_API HRESULT PXC_API PXC_SetTextScaling(_PXCContent* content, double scale, double* oldscale); so yours should be Public Declare Function PXC_SetTextLeading Lib "pxclib40.dll" (ByVal content As Long, ByVal Leading As Double, ByRef oldLeading As Double) As Long Dim OldLeadi...
by Lzcat - Tracker Supp
Wed Feb 09, 2011 9:10 am
Forum: PDF-Tools 4
Topic: PDF-Tool: Merging crashes and creates crap
Replies: 10
Views: 2907

Re: PDF-Tool: Merging crashes and creates crap

Hi Peter. If you need to handle huge amount of files or even very large files it is strongly recommended to use 64-bit applications and 64-bit OS - because all 32-bit applications have problems with addressing more than 2Gb of memory, and this limitation is because of the nature of 32-bit applicatio...
by Lzcat - Tracker Supp
Mon Jan 24, 2011 7:59 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXC_SetCompression and PXC_AddImageFromHBITMAP
Replies: 5
Views: 1449

Re: PXC_SetCompression and PXC_AddImageFromHBITMAP

Yes, Image compression is dependant on the HBITMAP format, but if the scanner produce 24-bit HBITMAP even when a user selects B&W mode - we can do nothing with this. From an HBITMAP we can create indexed (1 and 8 bit per pixel) and 24-bit images, later they may be converted to monochrome/gray-scale/...
by Lzcat - Tracker Supp
Thu Jan 20, 2011 8:21 am
Forum: PDF-Tools 4
Topic: PDF-Tools: Edit Page - where is my thumbnail
Replies: 4
Views: 1598

Re: PDF-Tools: Edit Page - where is my thumbnail

No, we don't have plans to support this "feature". Why? Because it would for most be a 'retrograde' step - most pdf files do not contain page thumbnails (or contain incorrect ones). This facility was was inherent in Adobe's reader before it was possible functionally to provide a thumbnail generated ...
by Lzcat - Tracker Supp
Wed Jan 19, 2011 8:12 am
Forum: PDF-XChange Viewer SDK
Topic: problem with inserting pages
Replies: 6
Views: 1341

Re: problem with inserting pages

As you was told before (in other topic) ther is no convenient way to merge two forms - they may contain fields with same name, may contain alot of scripts that refer to fileds by names (so there will be conflicts), there may be two different submit buttons, so what merged form should do if one of th...
by Lzcat - Tracker Supp
Wed Jan 19, 2011 7:53 am
Forum: PDF-XChange Viewer SDK
Topic: The source code xxx is broken message
Replies: 24
Views: 3391

Re: The source code xxx is broken message

Adobe puts a signature on the file to make the file editable with Adobe Reader. We cannot add such signature because Adobe does not allow this. There is no way to work with the file using any other Viewer and Adobe Reader becuse of the Reader limitaions. If you will use Acrobat instead of Reader - i...
by Lzcat - Tracker Supp
Tue Jan 18, 2011 2:39 pm
Forum: PDF-XChange Viewer SDK
Topic: The source code xxx is broken message
Replies: 24
Views: 3391

Re: The source code xxx is broken message

First file (saved using Adobe) contains an Adobe-specific digital signature which allows Adobe Reader to modify the document (without this signature Adobe Reader won't modify the document). Second file (updated by Viewer) also contains this signature, but there were changes and therefore the Reader ...
by Lzcat - Tracker Supp
Mon Jan 17, 2011 3:25 pm
Forum: PDF-XChange Viewer SDK
Topic: The source code xxx is broken message
Replies: 24
Views: 3391

Re: The source code xxx is broken message

Hi Joe. Typically we show this warning message when non all pdf objects described in xref tables or streams. In general all pdf objects from document range (from 0 to MaxObjNum ) should be described in xref table (or stream), even some of them are not used (they are marked as free), but for some rea...
by Lzcat - Tracker Supp
Wed Jan 12, 2011 2:42 pm
Forum: PDF-Tools SDK (DLL Libraries Only) - Clarion For Windows Developers Only Please
Topic: C6 app using PDF Tools v4.1 referencing ixclib40.dll
Replies: 3
Views: 2423

Re: C6 app using PDF Tools v4.1 referencing ixclib40.dll

Both pxclib40.dll and xcpro40.dll require ixclib40.dll to deal with images and cannot work wiothout it. Yes, ixclib40.dll is also part of other API (Image-Xchange), but if you not using it directly you not require separate licence for it. Also, there is two more required dlls: fm40tiff.dll - to load...
by Lzcat - Tracker Supp
Fri Dec 31, 2010 8:34 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Corrupt File After Saving
Replies: 23
Views: 4085

Re: Corrupt File After Saving

Issue was because one of files was broken and this was not correctly handled during save. Now it is fixed, so there should be no more issues with such files. However xcpro has issues with most broken files, which AX can handle. But using xcprto you have much more control during merging and additiona...
by Lzcat - Tracker Supp
Thu Dec 30, 2010 8:46 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Corrupt File After Saving
Replies: 23
Views: 4085

Re: Corrupt File After Saving

Got files and problem is reproduced.
Will fix in next build.
by Lzcat - Tracker Supp
Wed Dec 22, 2010 7:11 am
Forum: PDF-XChange Viewer (End Users)
Topic: Can not search with "1 " of the words.
Replies: 1
Views: 428

Re: Can not search with "1 " of the words.

Your file contains a font with an invalid 'ToUnicode' table, which is used to translate codes inside the PDF to unicode characters - at least character '1' is mapped to unicode 0018 (). Further this document is tagged, and this is the reason why Adobe can extract / search for '1' character correctly...
by Lzcat - Tracker Supp
Tue Dec 21, 2010 8:33 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Can not open pdf file, please help me!
Replies: 1
Views: 971

Re: Can not open pdf file, please help me!

You get correct error code which fully described situation - xref table is invalid. Yes, this mean that your file is broken, and xcpro does not support broken files.
by Lzcat - Tracker Supp
Mon Dec 20, 2010 10:02 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Issue Updating to 4.0189
Replies: 4
Views: 1356

Re: Issue Updating to 4.0189

Here is updated file list (may be not complete, but should be enough for your problem). Original file list was not updated since V3, sorry :?
by Lzcat - Tracker Supp
Thu Dec 16, 2010 9:47 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Speed Issue with PXCp_WriteDocumentW
Replies: 6
Views: 1908

Re: Speed Issue with PXCp_WriteDocumentW

Actually not only antivirus app's may monitor File Input / Ooutput, but some other programs too. Another possibility - for some reason the OS does not use buffering and send all requests directly to disk. There is alot of small saves, so this also may be a reason for performance degradation. Regardi...
by Lzcat - Tracker Supp
Thu Dec 16, 2010 7:43 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Issue Updating to 4.0189
Replies: 4
Views: 1356

Re: Issue Updating to 4.0189

You need to update all dlls at the same time, all of them should have the same build number. Looks like you could have somewhere several different copies and you didn't update all of them. You may use this tool to scan for dlls and see their versions.
by Lzcat - Tracker Supp
Wed Dec 15, 2010 8:19 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Speed Issue with PXCp_WriteDocumentW
Replies: 6
Views: 1908

Re: Speed Issue with PXCp_WriteDocumentW

There was one change in Read/Write engine, which may cause such behaviour - we changed how files are read/saved. Old builds are using file mapping and have some strabge and rare problems when saving on network drives. New builds use ReadFile/WriteFile routines, which may have no such problems. Of co...
by Lzcat - Tracker Supp
Mon Dec 13, 2010 4:14 pm
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 7084

Re: We get the "Save as..." dialog!

xcpro40 API is almost same as in V3, except fixed bugs and added new possibilities, so this should not limit you - in most cases your code will remain same, except you will want to add support of new encryption method.
by Lzcat - Tracker Supp
Fri Dec 10, 2010 5:45 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Does the PDF Format Support OpenType GSUB?
Replies: 7
Views: 1066

Re: Does the PDF Format Support OpenType GSUB?

Hi, Bhikkhu. Your pdf file does not use original character codes, it use glyph indexes (glyph is set of instructions which describe how to draw a character), so the original text can be obtained only using "reverse" mechanism. This mean that any font in this file has additional information - how to ...
by Lzcat - Tracker Supp
Fri Dec 10, 2010 7:34 am
Forum: PDF-XChange Viewer SDK
Topic: StretchDraw?
Replies: 22
Views: 3001

Re: StretchDraw?

If you need draw same image several times (with same zoom) - it will be better to create scaled copy and then draw it. First time this will take a bit longer, but the consecutive drawings would become much faster.
HTH.
by Lzcat - Tracker Supp
Wed Dec 08, 2010 7:32 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: text is garble
Replies: 1
Views: 1137

Re: text is garble

Your file contain fonts without ToUnicode table, which is required to extracrt non-ascii text using xcpro40.dll.
This behaviour will be changed in future version (not build!).
HTH.
by Lzcat - Tracker Supp
Wed Dec 08, 2010 7:22 am
Forum: PDF-XChange Viewer (End Users)
Topic: Extract pages does not extract forms with it
Replies: 4
Views: 770

Re: Extract pages does not extract forms with it

You have simple workaround - delete not needed pages ad save file with another name.
But do not expect that you can merge two files with form fields - for now form fields cannot be copied or moved from one document to another.
HTH.