ImageMagick PDF to JPEG conversion results in green square where image should be

前端 未结 1 434
猫巷女王i
猫巷女王i 2021-01-25 05:59

I\'m attempting to convert a PDF to a JPEG using ImageMagick.

The PDF: baby_aRCWTU.pdf

The command: convert -density 260 -profile \'SWOP.icc\' -profile \'sRG

1条回答
  •  情歌与酒
    2021-01-25 06:46

    On a site we convert hundreds of PDF's on a daily basis where we need to create JPGs and we found it only reliable to convert the PDF's to postscript first.

    We use the "pdftops" command, try

    pdftops baby_aRCWTU.pdf baby_aRCWTU.ps
    

    then your convert command above, but on the ps. Works for me, the image is then included.

    0 讨论(0)
提交回复
热议问题