本文介绍了使用C#或命令行PDF格式转换为JPG或PNG的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要一个PDF文件转换为图像。我用于测试目的它提供了一个命令行共有PDF转换器,但它的共享,我需要找到一个自由选择。
I need to convert a PDF file to images. I used for testing purposes "Total PDF Converter" which offers a command line, but it's shareware and I need to find a free alternative.
有谁知道这样一个工具或甚至是一个免费的C#库?
Does anyone knows such a tool or maybe even a free C# library?
推荐答案的转换工具(或难懂 从版本7 )从 ImageMagick的束可以做到这一点(和很多更多)。
The convert tool (or magick since version 7) from the ImageMagick bundle can do this (and a whole lot more).
在最简单的形式,它只是
In its simplest form, it's just
convert myfile.pdf myfile.png或
magick myfile.pdf myfile.png更多推荐
使用C#或命令行PDF格式转换为JPG或PNG
发布评论