FAXCOMEXLib 和 Windows 传真服务可以发送彩色传真吗?
我们正在测试从 C# 代码发送传真的不同选项(接收传真不是必需的)。这些选项之一是使用 FAXCOMEXLib。
毫不奇怪,我在发送 Black & 广告方面取得了相当大的成功。带有 FAXCOMExLib 的白色传真。但我们也有要求支持发送彩色传真。所以我执行以下代码(只是一个片段):
IFaxDocument oFaxDoc = new FaxDocumentClass();
oFaxDoc.Body = @"C:\Test\color_image.jpg";
oFaxDoc.ConnectedSubmit(m_oFaxServer);
图像为 24 位颜色,1728x2304,204x196 dpi。
在大多数情况下,此过程有效(有一些小问题),并且传真显示在我的“Windows 传真和扫描”发件箱中(我使用的是 Vista)。问题是图像已抖动为 1 位黑色和 1 位黑色。白色图像。我假设我在“Windows 传真和扫描”中看到的内容就是实际传输的内容。
那么有没有办法利用这种技术发送彩色传真呢?我们是否缺少某个配置选项来使其工作?
We are in the process of testing different options for sending faxes from within our C# code (receiving faxes is not necessary). One of those options is to use FAXCOMEXLib.
Without surprise, I've had pretty good success sending out black & white faxes with FAXCOMExLib. But we also have a requirement to support sending color faxes. So I execute the following code (just a snippet):
IFaxDocument oFaxDoc = new FaxDocumentClass();
oFaxDoc.Body = @"C:\Test\color_image.jpg";
oFaxDoc.ConnectedSubmit(m_oFaxServer);
The image is 24bit color, 1728x2304, 204x196 dpi.
For the most part, this process works (with a couple of small quirks) and the fax shows up in my "Windows Fax and Scan" outbox (I'm on Vista). The problem is the image has been dithered to a 1bit black & white image. I assume that what I see in "Windows Fax and Scan" is what is actually transmitted.
So is there a way to send a color fax using this technology? Are we missing a configuration option somewhere to make it work?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
终于在别处得到了答案。 Windows 传真服务不支持彩色传真。
Finally got an answer elsewhere. Windows Fax Service does not support color faxes.
我已经使用这个程序传输传真一年了,它不支持彩色传真传输。
I have been using this program to transmit faxes for a year and it does not support color fax transmissions.