Converting TIFF to PDF via Windows command line [c

2019-06-20 06:54发布

问题:

I'm looking for a free way to create a large batch of tif files (10-20k) into PDF files, ideally with OCR too.

It needs to be callable from the command line in windows.

回答1:

You can use the XnView application. It's got command line too.

Another alternative might be IrfanView.



回答2:

You can try LibTiff.Net library for this. It comes with tiff2pdf utility that can be used to create PDF from TIFF files. Unfortunately, there is no support for OCR.

Disclaimer: I am one of the maintainers of the library.



回答3:

You could possibly use GhostScript to create a PDF from a Tiff via commandline. Or build your own commandline app using iTextSharp to create PDF files.

Not sure about OCRing tho...