Search found 39 matches

by neilpitman
Mon Jun 01, 2009 8:56 am
Forum: Image-XChange SDK
Topic: IMG_PageSetFormat.....Parameter Question
Replies: 1
Views: 2698

IMG_PageSetFormat.....Parameter Question

1. Please could you advise of the correct way to get the ID and correct parameters required for the parameter setting functions such as IMG_PageSetFormatLongParameter. We couldn't find a clear method in the documentation. We are able to successfully create JBIG2 files using the approach below, but n...
by neilpitman
Fri May 22, 2009 9:11 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Error -2112946175 on PXCp_ReadDocumentW
Replies: 1
Views: 2977

Error -2112946175 on PXCp_ReadDocumentW

Attempting to read the attached PDF file gives the error above. It is PDF version 1.1 which is a little unusual these days, but the file does read OK elsewhere. All we are doing is : hr = PXCp_ReadDocumentW(pObject,CA2W(pdfFile),0); if (!IS_DS_SUCCESSFUL(hr)) { printf("Error Code %d\n",hr) }
by neilpitman
Thu Oct 16, 2008 6:29 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Convert PDF to Image
Replies: 1
Views: 880

Convert PDF to Image

Do any of the Tracker SDKs have the ability to convert PDF pages to a raster image format?
by neilpitman
Tue Sep 02, 2008 1:49 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PXCp_ET_GetElement gives "Invalid Argument"
Replies: 12
Views: 6102

Re: PXCp_ET_GetElement gives "Invalid Argument"

Presumably the declares change was to PXP_TextElement not PXP_TETextComposeOptions? I tried that but then get Error 3 The best overloaded method match for 'pdfinfo.XCPro35_Defs.PXCp_ET_GetElement(int, int, out pdfinfo.XCPro35_Defs.PXP_TextElement, int)' has some invalid arguments C:\dev\pdfinfo\pdfi...
by neilpitman
Thu Aug 28, 2008 2:12 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PXCp_ET_GetElement gives "Invalid Argument"
Replies: 12
Views: 6102

Re: PXCp_ET_GetElement gives "Invalid Argument"

Please could you advise of the solution for this problem.

Thanks
by neilpitman
Fri Aug 15, 2008 2:50 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PXCp_ET_GetElement gives "Invalid Argument"
Replies: 12
Views: 6102

Re: PXCp_ET_GetElement gives "Invalid Argument"

It was attached to the original post. Thanks.
by neilpitman
Fri Aug 15, 2008 1:12 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PXCp_ET_GetElement gives "Invalid Argument"
Replies: 12
Views: 6102

Re: PXCp_ET_GetElement gives "Invalid Argument"

Thanks for the guidance - we have tried as shown below but still get the "Invalid Argument" error. Is there an example available we can look at ? ...... XCPro35_Defs.PXP_TextElement m_tel = new XCPro35_Defs.PXP_TextElement(); m_tel.cbSize = System.Runtime.InteropServices.Marshal.SizeOf(m_tel); m_tel...
by neilpitman
Wed Aug 13, 2008 1:28 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PXCp_ET_GetElement gives "Invalid Argument"
Replies: 12
Views: 6102

PXCp_ET_GetElement gives "Invalid Argument"

We are find that PXCp_ET_GetElement always gives "Invalid Argument" - perhaps we are not using the correct calling sequence? Using 3.601131 VS 2005 project attached, and key code shown below XCPro35_Defs.PXP_TETextComposeOptions m_TextComposeOptions; XCPro35_Defs.PXP_TextElement m_tel ; Console.Writ...
by neilpitman
Tue Sep 25, 2007 9:32 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: IMG_PageGetDPI and IMG_PageGetSize functions fail
Replies: 4
Views: 1329

This fix seems to have introduced a new problem

This fix seems to have introduced a new problem.

When processing the PDF and extracting the image we now find that IMG_PageGetSize returns an incorrect value for height. It always appears to be the same value as width.

Let me know if you need more detailed information.

Thanks

Neil
by neilpitman
Wed Sep 12, 2007 3:04 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: IMG_PageGetDPI and IMG_PageGetSize functions fail
Replies: 4
Views: 1329

Have I posted this to the correct forum? Just wondered why there wasn't any reply yet - usually you guys are very responsive.

Thanks
by neilpitman
Thu Sep 06, 2007 10:26 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: IMG_PageGetDPI and IMG_PageGetSize functions fail
Replies: 4
Views: 1329

IMG_PageGetDPI and IMG_PageGetSize functions fail

When using 3.6021 processing the attached PDF file IMG_PageGetDPI and IMG_PageGetSize functions fail with Error code is: 0x82030001 Severity is: Error Facility is: ImagesCore Error is: Invalid argument There must be an issue specific to this PDF file as we have successfully processed PDFs from many ...
by neilpitman
Mon Jul 23, 2007 12:32 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PDF/A
Replies: 3
Views: 1297

PDF/A Status Update?

Could you clarify the current support and plans with respect to PDF/A support, and whether the support will include conversion of existing PDF files to PDF/A and whether it includes PDF/A verification.

Thanks

Neil
by neilpitman
Thu Mar 15, 2007 4:08 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PXCp_ET_AnalyzePageContent crashes on certain documents
Replies: 4
Views: 1276

Thanks, that seems to have fixed the issue.
by neilpitman
Wed Mar 14, 2007 9:57 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PXCp_ET_AnalyzePageContent crashes on certain documents
Replies: 4
Views: 1276

PXCp_ET_AnalyzePageContent crashes on certain documents

PXCp_ET_AnalyzePageContent crashes on the first page of certain documents, although the majority of documents are processed fine. I have attached two examples. We are using 3.60.1131. Please advise whether this reproduces at your end and may be a bug or whether there may be an issue at our end. Than...
by neilpitman
Thu Mar 01, 2007 7:03 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: XMP Support
Replies: 3
Views: 1208

The two main areas where XMP is important for PDF : (a) It is a requirement for PDF/A (see section 6.7 of ISO 19005) at both creation and modifiction time - eg updating xmpMM:History. (b) To provide additional indexing information that can be used when searching - eg after importing into Microsoft S...
by neilpitman
Thu Mar 01, 2007 5:25 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: XMP Support
Replies: 3
Views: 1208

XMP Support

Is there any explicit support for XMP in PDF-Tools or is it just up to us to use the low-level API (probably in conjunction with Adobe's XMP Toolkit) to manipulate XMP metadata?

Thanks

Neil Pitman
by neilpitman
Wed Dec 20, 2006 12:16 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: 64 bit and Windows Vista Support
Replies: 1
Views: 919

64 bit and Windows Vista Support

Hi

Could you advise the support position / timescales regarding the following with respect for the SDK?

Windows 2003 64-bit
Windows Vista

Thanks

Neil Pitman
Aquaforest
by neilpitman
Fri Feb 24, 2006 8:32 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: IMG_PageGetDPI gives error on sample file
Replies: 3
Views: 1197

Hi

Will 3.5099 be released this week?

Thanks
by neilpitman
Wed Feb 22, 2006 12:06 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Save PDF page as Image?
Replies: 1
Views: 861

Save PDF page as Image?

Is there any functionality in any Tracker library to save a complete page from a PDF document as an image file?

Thanks
by neilpitman
Wed Feb 22, 2006 10:05 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: ImageMask & PXC_matrix Questions
Replies: 1
Views: 742

ImageMask & PXC_matrix Questions

It is possible to find the value of the ImageMask setting for an image using PXCp_GetDocImageAsXCPage? Or some other method?

Is there detailed PXC_Matrix documentation - we just need to understand the image placement information.

Thanks!
by neilpitman
Wed Feb 22, 2006 9:21 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: ImageMask & PXC_matrix Questions
Replies: 1
Views: 998

ImageMask & PXC_matrix Questions

It is possible to find the value of the ImageMask setting for an image using PXCp_GetDocImageAsXCPage? Or some other method?

Is there detailed PXC_Matrix documentation - we just need to understand the image placement information.

Thanks!
by neilpitman
Thu Feb 16, 2006 8:11 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: IMG_PageGetDPI gives error on sample file
Replies: 3
Views: 1197

IMG_PageGetDPI gives error on sample file

The attached PDF file gives the following error on IMG_PageGetDPI(). Many other files have no problem. This is with version v.3.5098 Error code is: 0x82030001 Severity is: Error Facility is: ImagesCore Error is: Invalid argument The image is extracted with : PXCp_ReadDocumentW(pObject,CA2W(PDF_FileN...
by neilpitman
Wed Oct 05, 2005 9:58 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Image Extraction - Only "Top Half" of Image Extrac
Replies: 10
Views: 2172

We are using build 91 and the problem occurs with the new example just posted although the previously posted example works fine in 91.
by neilpitman
Wed Oct 05, 2005 8:01 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Image Extraction - Only "Top Half" of Image Extrac
Replies: 10
Views: 2172

Build 88 fixed the problem for the original file but we have found another example which appears to exhibit the same problem. We have now also purchased Image-X Change but the problem still occurs on this new example even using PXCp_GetDocImageAsXCPage and IMG_ImageSaveToFile instead of PXCp_SaveDoc...
by neilpitman
Tue Oct 04, 2005 10:20 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Determining Resolution for Extracting Images from PDF
Replies: 5
Views: 1421

We are now moving our app to 3.5 so we need to be able to use the XCPage(?) method that was mentioned above to determine the X and Y resolution of the image so that we can save it correctly. Can you provide any pointers on how to do this?

Thanks
by neilpitman
Mon Oct 03, 2005 4:38 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Image Extraction - Images Rotated and Inverted
Replies: 10
Views: 2165

Thanks but the zip file was empty! Would you be able to repost? On a related note, to prep for using the 3.5 interfaces I'm trying to build the C++ TestPro35 sample in build 91. After adjusting for include and lib directories (from ../lib to ../../../lib etc) I found that ixc_c.h, ixcdefs.h, ixcfmtd...
by neilpitman
Mon Oct 03, 2005 2:02 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Image Extraction - Images Rotated and Inverted
Replies: 10
Views: 2165

Hi

For this project we use MS Visual C++ (not .Net) with Visual Studio 2003.

Thanks
by neilpitman
Mon Oct 03, 2005 1:33 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Image Extraction - Images Rotated and Inverted
Replies: 10
Views: 2165

Reply

The "correctly" rotated version (ie the way that it appears in Adobe Reader) that you attached is the desired result. We are using PDFXCp_SaveImageFromPage and find that the image is inverted and "incorrectly" rotated (file attached). Do we need to switch to making use of the 3.5 library calls? That...
by neilpitman
Wed Sep 28, 2005 9:02 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Image Extraction - Images Rotated and Inverted
Replies: 10
Views: 2165

Hi

A sample PDF file that demonstrates the problem was attached to the original post - if you can't read it for some reason let me know.

Thanks
by neilpitman
Tue Sep 27, 2005 8:00 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Image Extraction - Images Rotated and Inverted
Replies: 10
Views: 2165

Image Extraction - Images Rotated and Inverted

Attempting to extract an image with PDFXCp_SaveImageFromPage etc from the attached sample PDF results in an image file which appears to be inverted and rotated 90 degrees from the PDF original. This is true using the SDK examples (saveimagesfrompdf, imagefrompdf) or our own app. Any workaround would...
by neilpitman
Thu Aug 25, 2005 8:56 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Image Extraction - Only "Top Half" of Image Extrac
Replies: 10
Views: 2172

Another Example

Attached is another test file from a totally different source that also exhibits the "top half of an image" problem - would it be possible to confirm that the fix will also work for this file.

Thank You.
by neilpitman
Wed Aug 24, 2005 6:00 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Image Extraction - Only "Top Half" of Image Extrac
Replies: 10
Views: 2172

News on Build 88?

Any news on when build 88 will be available? We really need the fix ASAP.

Thanks
by neilpitman
Fri Jul 29, 2005 3:06 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Image Extraction - Only "Top Half" of Image Extrac
Replies: 10
Views: 2172

Image Extraction - Only "Top Half" of Image Extrac

Attempting to extract an image with PDFXCp_SaveImageFromPage etc from the attached sample PDF results in an image file which appears to be just the "top half" of the image. This is true using the SDK examples (saveimagesfrompdf, imagefrompdf) or our own app. Any workaround would be appreciated. Thanks
by neilpitman
Wed Jun 22, 2005 9:14 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: SaveImagesFromPDF.exe - hang and crash samples.
Replies: 2
Views: 898

SaveImagesFromPDF.exe - hang and crash samples.

Attached are examples of two problems that appear within the SaveImageFromPDF SDK example. (Both 3.4 and 3.5) The first file, hangloop.pdf appears to hang/loop on PDFXCp_ReadDocument whilst the second file, crash.pdf appears to cause a crash on PDFXCp_SaveImageFromPage. Our application using the sam...
by neilpitman
Fri Jun 17, 2005 2:43 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PDFXCp_SaveImageFromPage ignores yDPI?
Replies: 4
Views: 1253

Yes, it is the DPI that is being saved in the TIFF file incorrectly. Attached is the source PDF file with embedded image, and the resulting TIFF file : Code used is : Options.yDPI = 98; Options.xDPI = 204; Options.CompressionMethod = ImCompression_CCITT4; hr = PDFXCp_SaveImageFromPage(pdf, pagenum, ...
by neilpitman
Fri Jun 17, 2005 10:05 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Determining Resolution for Extracting Images from PDF
Replies: 5
Views: 1421

As long as there is only one image per page, using PDFXCp_GetMediaBoxForPage and PDFXCp_GetDIBImageFromPage enables us to get the size , height and width.
by neilpitman
Fri Jun 17, 2005 10:03 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PDFXCp_SaveImageFromPage ignores yDPI?
Replies: 4
Views: 1253

PDFXCp_SaveImageFromPage ignores yDPI?

We find that using PDFXCp_SaveImageFromPage seems to ignore yDPI and use xDPI for both x and y resolutions. Hence the code below results in a TIFF file with 204 x 204 resolution. Is this a bug or is there a way round this? Options.yDPI = 98; Options.xDPI = 204; Options.CompressionMethod = ImCompress...
by neilpitman
Fri Jun 17, 2005 8:47 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Determining Resolution for Extracting Images from PDF
Replies: 5
Views: 1421

Determining Resolution for Extracting Images from PDF

In image-only PDF files, many group 3 tiff images will be from faxes which can have resolutions such as 204dpi x 98dpi Before using PDFXCp_SaveImageFromPage we need to be able to correctly determine the image object size from the PDF file, in order to be able to correctly set xDPI and yDPI - setting...