My workaround is to convert a .PDF to a .PNG, save the file and hand that file over to ZXing to extract the values of the barcodes. Not really elegant... The following Command Line will convert my file:
Code: Select all
PDFXTools.exe /RunTool pdfToImages "y:\MyTestFile.pdf" /Output:folder=\"y:\";filename=\"MyTestFile.png\";overwrite=makeuniq;showfiles=yes
2) How do I make the above command to create a .PNG with a resolution of 300 dpi instead of the 150 dpi default? I assume there are additional parameters for the 'pdfToImages', but I can not find any hint about this in the online help information.