Converting a PDF to PNG

前端 未结 12 1903
一个人的身影
一个人的身影 2020-11-27 09:58

I\'m trying to convert a PDF to a PNG image (at least the cover of one). I\'m successfully extracting the first page of the PDF with pdftk. I\'m using imagemagick to do the

12条回答
  •  青春惊慌失措
    2020-11-27 10:20

    Here is a german discussion about a problem like this for SVG files where it is solved by using

    convert -background transparent
    

    Perhaps this works for you, too.

提交回复
热议问题