Page 1 of 1
which ghostscript paramters do nconvert use for pdf->jpg?
Posted: Fri Oct 02, 2009 7:25 am
by daytrader
my problem is that i use an very old nconvert (4.51) on an damn small linux system - there is no newer package for this distr.
i want to convert an pdf to jpg - but the resulting colors are wrong
with
ghostscript (using the switch -dUseCIEColor) we get an proper result

but the conversion is very slow
maybe nconvert passes extra switches to ghostscipt? - what are the default
ghostscript switches which nvonvert uses?
regards daytrader
Re: which ghostscript paramters do nconvert use for pdf->jpg?
Posted: Fri Oct 02, 2009 8:20 am
by xnview
daytrader wrote:
maybe nconvert passes extra switches to ghostscipt? - what are the default ghostscript switches which nvonvert uses?
I don't use any special param
Re: which ghostscript paramters do nconvert use for pdf->jpg?
Posted: Sat Oct 03, 2009 5:32 pm
by daytrader
thank you for your fast reply
but with the command:
gs -dSAFER -dBATCH -dNOPAUSE -dUseCIEColor -sDEVICE=jpeg -sOutputFile=test.pdf
gs is much slower than nvonvert
do you have an explanation for this?
Re: which ghostscript paramters do nconvert use for pdf->jpg?
Posted: Mon Oct 05, 2009 7:10 am
by xnview
daytrader wrote:
gs is much slower than nvonvert
do you have an explanation for this?
I use the width/height output, perhaps it's that
Re: which ghostscript paramters do nconvert use for pdf->jpg?
Posted: Wed Oct 21, 2009 8:28 pm
by daytrader
it´s me again
do you use -gnumber1xnumber2 ?
from the
ghostscript documentation:
-gnumber1xnumber2
Equivalent to -dDEVICEWIDTH=number1 and -dDEVICEHEIGHT=number2, specifying the device width and height in pixels for the benefit of devices such as X11 windows and VESA displays that require (or allow) you to specify width and height. Note that this causes documents of other sizes to be clipped, not scaled: see -dFIXEDMEDIA below.
but with this parameter the output is clipped not scaled

Re: which ghostscript paramters do nconvert use for pdf->jpg?
Posted: Thu Oct 22, 2009 12:47 pm
by xnview
daytrader wrote:
do you use -gnumber1xnumber2 ?
Yes