We have been using the command line version of your product with the suplied registration code without any problem for several years. However, I recently tried to use the same registration code alonfg with the DLL version (PDFToImageSetCode; PDFToImageConverter). The PDF converts to a multipage tiff file, but I am getting the test version watermark. Do I need a different registration code:
(I am working in VFP 8 in this project)
DECLARE long PDFToImageConverter in "c:\rts\pdf2image.dll" ;
String szPDFFileName , String szOutputName, ;
String szUserPassword,String szOwnPassword, ;
long xresolution,long yresolution,long bitcount, ;
long compression, long quality,INTEGER grayscale, ;
INTEGER multipage,long firstPage,long lastPage
Declare long PDFToImageGetPageCount in "c:\rts\pdf2image.dll" ;
string szPDFFileName
Declare PDFToImageSetCode in "c:\rts\pdf2image.dll" ;
string szRegcode
LOCAL coutfile,npagecnt,
nok = PDFToImageSetCode("XXXXXXXXXXXXXX")
npagecnt = PDFToImageGetPageCount(cpdffile)
WAIT WINDOW "Converting PDF file to Tiff File: " + ALLTRIM(STR(npagecnt)) + " page(s)" NOWAIT NOCLEAR
nok = PDFToImageConverter(cPdffile, cTiffFile ; ,"", "", 200, 200, 1, 4, 70, 0, 1, -1, -1) WAIT CLEAR
IF nok>0
gfmessage("Failed to convert PDF file to Tiff file")
ENDIF
CLEAR DLLS
"PDFToImageConverter","PDFToImageGetPageCount","PDFToImageSetCode"
SET DEFAULT TO (c_drive)
Email secured by Check Point
========================================
Are you using the latest version of pdf2image.dll library? If yes, please use old version of pdf2image.dll to replace the new version of pdf2image.dll file, then you will get it work.
========================================
I was using the wrong activation code, the one for our earlier command line version. I switched to the SDK version activation code and all is now working properly. Thank you for your help.
========================================
Thanks for your information.
========================================
Related Posts
Related posts:
PDF to Image converter: Quality of generated TIFF images
Which can help me convert pdf to tif with CCITT Group 4 compression?
How to get a big dimension jpg with the converting PDF to JPG?
New version of PDF to Image SDK does create ClassF Fax TIFF file with Width&Length: 2048 * 1401 ...
PDF to Raster Command Line Converter
How to call PDF to Image Converter from SaaS (- Software as as Service) platform?
Do you have a SDK product or DLL Library which can convert from PDF files to many other formats?
VeryPDF PDF SDK for Web & Windows & Linux & Mac & iOS & Android as well as PDF C...