如何使用itextsharp和c#创建可搜索的文本pdf [英] How to create a searchable text pdf using itextsharp and c#

查看:259
本文介绍了如何使用itextsharp和c#创建可搜索的文本pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已将tif文件转换为pdf文件。现在我想在c#中使用itextsharp.dll创建一个可搜索的pdf。

如果有人有想法,请建议我。





谢谢

Hi,
i have converted a tif file into pdf file. and now i want to create a searchable pdf using itextsharp.dll in c#.
if any one have idea, please suggest me.


Thanks

推荐答案

您目前获得的pdf是转换为pdf的图像。因此无法直接搜索。



你的tiff文件应首先进行OCR,然后将其转换为PDF文件以便它可以是

可搜索。



for OCR你可以使用开源Tesseract OCR引擎。



希望这有帮助
The current pdf you've got is an image converted to pdf. Hence it cannot be directly made searchable.

your tiff file should be first OCR'ed and then get it converted into PDF file so that it can be
searchable.

for OCR you can use the open source Tesseract OCR engine.

Hope this helps


这篇关于如何使用itextsharp和c#创建可搜索的文本pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆