如何将非图像文件转换为图像文件 [英] How to convert an non image file into an image file

查看:128
本文介绍了如何将非图像文件转换为图像文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将非图像文件转换为图像文件

How to convert an non image file into an image file

推荐答案

转换文档文件(如text,excel..etc)的过程称为光栅化。但是,这不适用于所有文件类型(例如音频)。

在我的应用程序中,我使用leadtools将文档文件(text,excel,doc和pdf)加载到图像,然后绘制一些注释然后将结果保存为jpeg图像。
The process of converting document files (like text, excel..etc) is called rasterization. However, this will not work on all file types (for example audio).
In my application I used leadtools to load document files (text, excel, doc and pdf) to an image then draw some annotations on it then save the result as jpeg images.


所有文件= excel和PDf ...有趣。

1)安装PdfCreator [ ^ ] PDF打印机

2)设置此打印机以打印到图像而不是pdf。你可以选择几种图像格式。

2)使用互操作和/或动词将文件打印到这台打印机

你有它们。
All files = excel and PDf... interesting.
1) Install PdfCreator[^] PDF printer
2) Set up this printer to print to image instead of pdf. You can select several image formats.
2) Using interop and/or verbs print your documents to this printer
There you have them.


这篇关于如何将非图像文件转换为图像文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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