<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Michal, <br>
</p>
<p>you can set <i><tt>-verbose</tt></i> to <i><tt>convert</tt></i>
to see the options gs is invoked with. <br>
E.g.</p>
<p> $ convert -verbose dice.eps dice.png<br>
"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"<br>
/tmp/magick-I2x48Gk1-00000001 PNG 258x86 258x86+0+0 8-bit
DirectClass 3.89KB 0.000u 0:00.000<br>
dice.eps PS 258x86 258x86+0+0 16-bit DirectClass 3.89KB 0.000u
0:00.000<br>
dice.eps=>dice.png PS 258x86 258x86+0+0 8-bit PseudoClass 14c
0.000u 0:00.00<br>
</p>
<p><br>
</p>
<p>regards, -- deimi <br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 12/09/2016 11:24 AM, Michal Hoftich
wrote:<br>
</div>
<blockquote
cite="mid:CAOCj1OeA1MZ7FNxU-jFMA_CVbAsMANyN0Bu8rFpiQCMDYvd=nw@mail.gmail.com"
type="cite">
<pre wrap="">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
<a class="moz-txt-link-rfc2396E" href="mailto:reinhard.kotucha@web.de"><reinhard.kotucha@web.de></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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 <a class="moz-txt-link-freetext" href="mailto:reinhard.kotucha@web.de">mailto:reinhard.kotucha@web.de</a>
------------------------------------------------------------------
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="160">--
--
Deimantas
</pre>
</body>
</html>