将LeadTools扫描仪图像导出到磁盘 [英] Export LeadTools scanner image to disk

查看:91
本文介绍了将LeadTools扫描仪图像导出到磁盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用leadtools从扫描仪驱动程序获取图像,如何将该图像保存到磁盘(jpg或bmp或任何格式)?



谢谢和问候

I am using leadtools to get image from scanner driver, how can I save that image to disk (jpg or bmp or any format)?

thanks & regards

推荐答案

这是LEADTOOLS支持。

由于问题有C#标签,我假设您正在使用我们的.NET程序集。如果是这种情况,您可以使用Leadtools.Codecs.RasterCodecs.Save()方法将JPEG,BMP或任何支持的格式保存到磁盘文件或流中。

您应该引用所需的DLL您需要的格式,例如JPEG的Leadtools.Codecs.Cmp.DLL和BMP的Leadtools.Codecs.Bmp.DLL。
This is LEADTOOLS support.
Since the question has the C# tag, I'll assume you're using our .NET assemblies. If that's the case, you can use the Leadtools.Codecs.RasterCodecs.Save() method to save JPEG, BMP or any supported format to either disk file or stream.
You should reference the required DLLs for the formats you need such as Leadtools.Codecs.Cmp.DLL for JPEG and Leadtools.Codecs.Bmp.DLL for BMP.


这篇关于将LeadTools扫描仪图像导出到磁盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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