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:
I can not run PDF Extract TIFF COM Server License
What could help us convert PDF to TIFF image?
Convert German PDF to JPEG with PDF to Image Converter
Convert Dutch characters from PDF file to PNG image
[VeryPDF Release Notes] VeryPDF Releases a powerful halftone module to convert any color PDF file to...
Questions regarding PDFParserSDK API. How to extract text from PDF and render PDF pages to TIFF file...
[VeryPDF Release Notes] VeryPDF has released a new version of PDF to Image Converter Command Line so...
How to rotate some pages of the PDF file 90 degrees to create a jpg file?