Hi Michal,

you can set -verbose to convert to see  the options gs is invoked with.
E.g.

 $ convert -verbose dice.eps dice.png
"gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g258x86  "-sOutputFile=/tmp/magick-I2x48Gk1-%08d" "-f/tmp/magick-pzBXXFR7" "-f/tmp/magick-b4unOKoe"
/tmp/magick-I2x48Gk1-00000001 PNG 258x86 258x86+0+0 8-bit DirectClass 3.89KB 0.000u 0:00.000
dice.eps PS 258x86 258x86+0+0 16-bit DirectClass 3.89KB 0.000u 0:00.000
dice.eps=>dice.png PS 258x86 258x86+0+0 8-bit PseudoClass 14c 0.000u 0:00.00


regards, -- deimi


On 12/09/2016 11:24 AM, Michal Hoftich wrote:
Hi Reinhard,

yes, they seem to be the same:

rungs.png PNG 595x842 595x842+0+0 8-bit sRGB 35.7KB 0.000u 0:00.009
convert.png PNG 595x842 595x842+0+0 8-bit sRGB 17.7KB 0.000u 0:00.000


It isn't so bad in this case, the rungs produced file that is just
twice as big :)

Used options:

rungs -sDEVICE=pngalpha  -dNOPAUSE -dBATCH -dSAFER  -dFirstPage=1
-dLastPage=1  -sOutputFile=rungs.png sample.pdf


Michal

On Thu, Dec 8, 2016 at 9:20 PM, Reinhard Kotucha
<reinhard.kotu...@web.de> wrote:
On 2016-12-07 at 12:11:04 +0100, Michal Hoftich wrote:

 > thanks, rungs seems to work. Images produced by Imagemagick are
 > much smaller, but I guess this is not so big issue nowadays.

Hi Michal,
are the parameters (color depth an resolution) the same?  You can
retrieve some meta data with ImageMagick's identify(1).

Regards,
  Reinhard

--
------------------------------------------------------------------
Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:reinhard.kotu...@web.de
------------------------------------------------------------------



-- 
--
Deimantas 

Reply via email to