dqce48404 2017-04-18 16:31
浏览 173

遇到GhostScript PDF转换问题

I am running The newest version of GhostScript 9.2.1 with the newest Imagick, on Easy Apache 4 on a Centos Box.

I am having issues converting some PDF's to PNG, but not all. I cant seem to identify why. The error I get is:

2017-04-18T12:01:46-04:00 0:00.010 0.000u 6.9.4 Exception convert[55246]: utility.c/ShredFile/1822/Exception Failed to remove: /tmp/magick-55246bpeoJy2BkzLf.cache

This is the last line of the convert statement, when running as -debug "ALL". I have tried including the entire Path in the Magick.xml file, which is suggested elsewhere, but that doesnt do the trick. Again, it works most times, but not All.

I can provide a link to the PDF if needed.

Please assist - Thanks.

Jesper

  • 写回答

1条回答 默认 最新

  • douao1959 2017-04-18 17:42
    关注

    If you post the PDF somewhere (or just stick a link here as you suggest) I can get it I'll take a look, but the error is not immediately obvious as being due to Ghostscript. That looks like an IMagick error to me, its certainly not GS.

    You do know that Ghostscript can render PDF to PNG directly ? Doing so and then opening the PNG in IMagick if you want to work on it further might be a more robust solution.

    评论

报告相同问题?

悬赏问题

  • ¥15 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办