Search found 706 matches

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: 2338

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: 2338

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: 2338

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: 2338

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: 2338

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: 1067

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: 5163

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: 820

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: 857

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: 787

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: 389

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: 1259

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: 1757

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: 1137

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: 607

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: 1716

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: 1128

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: 1320

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: 9132

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: 1320

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: 1009

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: 2418

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: 1218

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: 1314

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: 1058

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: 2644

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: 2644

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: 2644

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: 2192

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: 3307

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: 3307

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: 354

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: 837

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: 1119

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: 1611

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: 1119

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: 1611

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: 6214

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: 805

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: 2327

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: 1016

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: 571

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.
by Lzcat - Tracker Supp
Tue Dec 07, 2010 4:16 pm
Forum: PDF-XChange Drivers API SDK
Topic: Saved PDF size different between 32bit and 64bit drivers
Replies: 10
Views: 2719

Re: Saved PDF size different between 32bit and 64bit drivers

Build 189 is avail and it should fix this issue.
Please check and coem back with testing results.
by Lzcat - Tracker Supp
Fri Dec 03, 2010 2:57 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Add page numbers to a PDF file
Replies: 3
Views: 1330

Re: Add page numbers to a PDF file

You should use any suitable functions to create another pdf file with additional content (PXC_TextOut or PXC_DrawTextExW to place text to required position, ans so on), and then use PXCp_PlaceContents to place created pdf file over existing content, as you read before.
by Lzcat - Tracker Supp
Fri Dec 03, 2010 12:39 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Printing Current View into PDF -> Letters are gone
Replies: 14
Views: 1374

Re: Printing Current View into PDF -> Letters are gone

I still think the user should be given the option to disable "Print Text as Curves," so that font embedding is an alternative option. Sorry, but printing text as text is more complex task than printing text as curves (PDF may contain embedded fonts, which cannot be used for printing without convert...
by Lzcat - Tracker Supp
Fri Nov 26, 2010 3:09 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Corrupt File After Saving
Replies: 23
Views: 3307

Re: Corrupt File After Saving

Current v2.5 beta (build 188) does not include required fix, it will be avail with next build (189).
by Lzcat - Tracker Supp
Thu Nov 18, 2010 7:28 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: distribution files for adding watermarks
Replies: 9
Views: 1855

Re: distribution files for adding watermarks

If there is such difference problem may be with a PDF file, placing watermark as foreground may depend on page content. However this should be not PC specific ... Can you make additional check with your files? And if there is file where placing watermark make it invisible - please provide original f...
by Lzcat - Tracker Supp
Wed Nov 17, 2010 8:29 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: distribution files for adding watermarks
Replies: 9
Views: 1855

Re: distribution files for adding watermarks

Here is some suggestions what can be done:
1. Check dll versions on PC where code is not working. All dll should have same version.
2. Check if there is other copies of dlls somewhere on PC (you may use tool decribed in this topic).
3. Try to use common font like Arial.
by Lzcat - Tracker Supp
Wed Nov 17, 2010 7:44 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Corrupt File After Saving
Replies: 23
Views: 3307

Re: Corrupt File After Saving

Can you provide PXCp_... function call sequence to reproduce corruption? Looks like there is problem with specific files(s) and call sequence. File for testing I already have :) And will se what can be done to handle already corrupted files (Viewer has completely different and more advanced code to ...
by Lzcat - Tracker Supp
Tue Nov 16, 2010 2:09 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: distribution files for adding watermarks
Replies: 9
Views: 1855

Re: distribution files for adding watermarks

Have tested on my PC, all work as expected, except file was not created if I pass invalid path to Viewer.
Can you say what is different on user PC and your development machine?