【问题标题】:PDF to Image conversion - Windows command line scriptPDF 到图像的转换 - Windows 命令行脚本
【发布时间】:2012-05-18 07:20:34
【问题描述】:

我必须编写一个 Windows 命令行 shell 脚本来将 pdf 转换为图像。 示例命令:

convert.exe -density 300x300 -resize 3508x <file>.pdf -units PixelsPerInch -profile srgb.icc <FILE>.jpg

此命令适用于非白色背景的 pdf,但适用于白色背景的 pdf。知道如何给出对两者都有效的命令吗?

加号

1) 如果 PDF 转换为 .png(而不是 .jpg),它可以工作。知道为什么吗?

【问题讨论】:

    标签: imagemagick


    【解决方案1】:

    这可能会有所帮助,Save pdf to jpeg using c#

    也可以看看here

    【讨论】:

      猜你喜欢
      • 2018-01-11
      • 2011-08-23
      • 2014-11-24
      • 1970-01-01
      • 2016-08-26
      • 2011-04-14
      • 1970-01-01
      • 2011-07-06
      • 2011-05-01
      相关资源
      最近更新 更多