[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#915104: PDF to JPG conversion of single pages partly broken



Package: ghostscript
Version: 9.26~dfsg-0+deb9u1

When we convert PDF files to JPG using ghostscript, some pages are not convertible by themselves, only when converting the whole PDF file.

The command used to extract the first page is:

$ convert input.pdf[0] output.jpg
convert-im6.q16: FailedToExecuteCommand `'gs' -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r72x72' -dFirstPage=1 -dLastPage=1 '-sOutputFile=/tmp/magick-157641emDtZokGRcg%d' '-f/tmp/magick-15764aXydnGwiqrgk' '-f/tmp/magick-15764wo8U_FWjydko'' (-1) @ error/delegate.c/ExternalDelegateCommand/462. convert-im6.q16: no images defined `output.jpg' @ error/convert.c/ConvertImageCommand/3258.


This does not(!) happen after downgrading to the previous version 9.25~dfsg-0+deb9u1.

We are using Debian GNU/Linux 9, Kernel 4.9.0-8-amd64.


Reply to: