ImageMagick PDF to JPGs sometimes results in black background

后端 未结 3 2004
庸人自扰
庸人自扰 2021-02-02 06:05

I have the following:

ghostscript-fonts-5.50-24
ImageMagick-6.7.2-1
ghostscript-9.02-1

Which I use to create a series of JPGs for each page usi

3条回答
  •  盖世英雄少女心
    2021-02-02 06:33

    Simple fix to this issue is to use an image format that supports transparency, such as png.

    So:

    convert -density 175 -colorspace sRGB test.pdf -resize 50% -quality 95 test.png
    

    Problem solved :)

提交回复
热议问题