将 TIFF 转换为 PostScript
我正在编写 .net 代码(Windows 窗体应用程序),它读取 TIFF 图像 (CMYK) 并将其发送到打印机(使用 WritePrinter)。在发送之前,我需要将 TIFF 图像转换为 PostScript。你们中的任何人都可以分享如何从 TIFF 图像创建 PostScript 的代码吗?我很感激!
I'm writing .net code (Windows Forms Application) which reads a TIFF image (CMYK) and sends it to printer (using WritePrinter). Before I send it, I need to convert the TIFF image to PostScript. Could any of you share the code how to create PostScript out of TIFF image? I appreciate it!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我公司的产品 dotImage 包含 EPS 编码,但它也会生成页面生成运算符。
典型用法可能是这样的:
如果您需要进行批量转换,我们的资源管理也可以使这变得简单(即循环遍历整组(可能是多页)TIFF)。此外,该编码器将遵循图像中的颜色配置文件并处理以下图像格式:
如果需要,它将缩放图像,反转黑白图像、应用分辨率转换、应用 PostScript 文档结构约定等。
尝试一下 - 我们提供免费试用。如果您没有看到您需要的东西,请告诉我(或致电我们的支持热线)。
My company's product, dotImage includes an encode for EPS, but it will also generate page generation operators.
Typical usage might be something like this:
If you need to do batch conversions, we have resource management to make that easy too (ie, loop over an entire set of (possibly multipage) TIFFs). Also, this encoder will honor color profiles in the images and handles the following image formats:
It will scale the image, if desired, invert black and white images, apply resolution transforms, apply PostScript document structuring conventions, etc.
Give it a try - we have a free trial. Let me know (or call our support line) if you don't see something you need.
如果可以选择使用外部库/工具:标准和参考 libtiff 实现附带了十多个命令行实用程序。其中 2 个是 tiff2ps 和 tiff2pdf。另请参阅http://www.libtiff.org/tools.html
If using an external library/tool is an option: the standard and reference libtiff implementation ships with more than a dozen commandline utilities. 2 of those are tiff2ps and tiff2pdf. See also http://www.libtiff.org/tools.html
您可以使用外部应用程序来为您完成这项工作,例如:http://pt.softpicks.net/software/Multimedia/Convertores-e-Otimizadores/PS-to-Tiff-command-line_pt-52736.htm
您应该做的就是遵循以下脚本:
You could use an external app to do this job for you, like this one: http://pt.softpicks.net/software/Multimedia/Convertores-e-Otimizadores/PS-to-Tiff-command-line_pt-52736.htm
All you should do is follow this script: