免费将C#PDF转换为Bmp [英] c# PDF to Bmp for free

查看:130
本文介绍了免费将C#PDF转换为Bmp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个使用OCR(tessnet2)扫描图像文件并提取某些信息的程序.在发现要从Exchange服务器扫描PDF附件之前,这很容易.

I am writing a program that uses OCR (tessnet2) to scan an image file and extract certain information. This was easy before I found out that I was going to be scanning attachments of PDFs from an Exchange server.

我正在研究的第一个问题是如何将我的PDF转换为BMP文件.从目前为止我对TessNet2的了解,它只能读取图像文件-特别是BMP.因此,我现在的任务是将大小不确定的PDF(2-15页)转换为BMP图像.完成之后,我可以使用已经使用TessNet2构建的代码轻松扫描每个图像.

The first problem I am working on is how to convert my PDFs to BMP files. From what I can tell so far of TessNet2, it can only read in image files - specifically BMP. So I am now tasked with converting a PDF of indeterminate size (2 - 15 pages) to BMP image. After that is done I can easily scan each image using the code I have built already with TessNet2.

我已经看到了使用Ghostscript来完成此任务的事情-我只是想知道是否还有另一种免费解决方案,或者你们中的一个好人是否可以为我提供有关如何使用Ghostscript进行崩溃的速成课程.

I have seen things using Ghostscript to do this task - i'm just wondering if there was another free solution or if one of you fine humans could give me a crash course on how to do this using Ghostscript.

推荐答案

找到了有关将PDF转换为图像的CodeProject文章:

Found a CodeProject article on converting PDFs to Images:

http://www.codeproject. com/Articles/57100/简单且免费的PDF到图像转换

这篇关于免费将C#PDF转换为Bmp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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