V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
lufyluo
V2EX  ›  问与答

求 PDF2JPG 解决方案

  •  
  •   lufyluo · 2017-05-23 10:08:14 +08:00 · 2220 次点击
    这是一个创建于 2502 天前的主题,其中的信息可能已经有所发展或是发生改变。

    1、free 2、无水印 3、客户端免安装三方软件(若需 native dll 还是可以的) 4、。net 楼主逛遍地球了,有个方案 GhostScript 感觉不错,但是需要 gsdll32.dll,网上 down 了几个,但是《无法在 DLL “ gsdll32.dll ”中找到名为“ gsapi_new_instance ”的入口点。》估计不是同一个。 求助啊,我 V2 百万大军

    第 1 条附言  ·  2017-05-23 14:39:42 +08:00
    c# 用的 Ghostscript,pdf 转图片如果 PDF 中图片里有文字,文字区会变成黑方块
    13 条回复    2017-05-26 15:44:24 +08:00
    ivanchou
        1
    ivanchou  
       2017-05-23 10:11:32 +08:00 via Android
    smallpdf
    ayang23
        2
    ayang23  
       2017-05-23 10:12:19 +08:00
    imagemagick
    thomaspaine
        3
    thomaspaine  
       2017-05-23 10:26:09 +08:00
    ghostscript 还不错的其实
    imn1
        4
    imn1  
       2017-05-23 10:35:11 +08:00
    convert -density 300 -quality 100 -resize 800x "file.pdf" "result.jpg"

    http://www.imagemagick.org/script/command-line-options.php#density
    coderluan
        5
    coderluan  
       2017-05-23 10:43:28 +08:00
    imagemagick +1
    lufyluo
        6
    lufyluo  
    OP
       2017-05-23 11:03:43 +08:00
    @All 用的Ghostscript解决了
    但是imagemagick  试了  还是需要Ghostscript的dll,是我方式有问题吗?能提供粗暴代码不
    lanbing
        7
    lanbing  
       2017-05-23 11:13:47 +08:00
    软件名称:AP PDF to IMAGE Batch Converter
    lsf1012
        8
    lsf1012  
       2017-05-23 16:58:28 +08:00
    Wondershare PDF Converter Pro
    aip
        10
    aip  
       2017-05-23 17:03:30 +08:00
    文字变方块,可能是编译时没加入 TrueType 或 fontconfig 支持。。。。
    douglas1997
        11
    douglas1997  
       2017-05-23 17:55:12 +08:00 via iPhone
    pdfimages 命令行很快。

    还有,please google first。这个问题在 v2 提问了最起码五遍。
    lufyluo
        12
    lufyluo  
    OP
       2017-05-26 15:41:51 +08:00
    @douglas1997 很明显前面问的 500 遍不能满足我--!
    lufyluo
        13
    lufyluo  
    OP
       2017-05-26 15:44:24 +08:00
    @aip 卧擦,我们用另一种方案解决了,恨啊,你来的太 J2 晚了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5285 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 07:25 · PVG 15:25 · LAX 00:25 · JFK 03:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.