We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 19 days ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
也许您可以将 RTF 转换为 PDF,然后再转换为 JPG。 当然,这比直接从 RTF 转换为 JPG 需要更多工作,但对于今天来说,这可能是一个可以接受的短期解决方法。
Perhaps you could convert the RTF to PDF then to JPG. Sure thats more work than going straight from RTF to JPG but it might be an acceptable short term workaround for today.
您可能需要考虑将 RTF 转换为 HTML,而不是将其转换为图像。
这看起来很有希望。
You might want to consider converting your RTFs to HTML, instead of turning them into images.
This looks promising.
这可能需要多个工具......
将 rtf 转换为 pdf
检查这个
至于PDF转JPG
你可以尝试转换(linux)...ImageMagick
This might require more that one tool.....
for the rtf to pdf
check this
As for the PDF to JPG
you can try convert(linux)...ImageMagick
由于它是 Windows 盒子,因此在 2009 (XP) 中转换 RTF 的最简单本机方式与现在的 Windows 10 中的转换方式非常相似。RTF
是本机写字板输入格式,JPG 是本机 MS Paint 输出。
因此,无需编程的最简单方法是打开 RTF 和 screengrab 粘贴到 Paint 中并像这样另存为 JPEG。
无论是当时还是现在,对自动化进行编程的最简单方法都是使用本机 WSH。
个人过去曾编写过 100-200 行 CMD 将 DocX 和 RTF、TXT 等转换为 PDF 和/或图像。 但由于这是一个古老的问题,并且有更简单的方法可以在 Windows 10/11 中编写一行运行 EXE,我认为这种旧方法不具有现代价值。
对于通过 PDF 接受的路线。 第一个古老而现代的步骤可能是使用写字板(写入虚拟 PS 或 PDF 打印机和驱动程序)转换为 PDF。 PDF 到 JPG 可以直接使用 GhostScript,因为 ImageMagick 就是这么做的。
现代 Windows 10/11 路线无需为写字板安装 GS 打印驱动程序的旧 XP 方法,而是使用内置的 MS 打印到 PDF。 我会使用 300dpi 或 200dpi PNG 以获得更好的质量/轮廓保真度。
现代答案
只是使用 GhostScript(便携式命令行)将 RTF 写入 PDF(或通过安装了 GhostScript 打印机的 Postscript)。
As it is a Windows box the simplest native way to convert RTF in 2009 (XP) is much the same as today in Windows 10.
RTF is native WordPad input format and JPG is a native MS Paint output.
thus the simplest way without programming was to Open RTF and screengrab to paste in Paint and save as JPEG like this.
Both then and now the easiest way to program that automation is to use native WSH.
Personally have in the past written 100-200 lines of CMD to convert DocX and RTF, TXT etc to PDF and or Images. But as this is such an old question and there are far simpler ways to write one line running an EXE in windows 10/11 I dont think such old methods are of modern value.
For the accepted route via PDF. The first old and modern step could be using WordPad (write to virtual PS or PDF printer & driver) to PDF. The PDF to JPG could be GhostScript direct since that is all that ImageMagick does.
Modern Windows 10/11 route without older XP method of installing GS print driver for WordPad, is use inbuilt MS Print to PDF. and I would use 300dpi or 200 dpi PNG for better quality / outline fidelity.
Modern Answer
Is just use GhostScript (Portable Command Line) with Write RTF to PDF (or via Postscript with GhostScript printer installed).