<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Thank you guys,<br><br>The imagemagick converter did the trick! <div>I still nee to give pdflatex a try, that my save me some time as well!.<div>
<br></div><div>Thanks again!</div></div></span><br><div class="gmail_quote">2011/10/3 Miika Nurminen <span dir="ltr">&lt;<a href="mailto:miika.nurminen@jyu.fi">miika.nurminen@jyu.fi</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">Ville Tirronen wrote:<br>
&gt;&gt;&gt; convert my graphics to EPS format from PNG or JPEG. Can someone<br>
&gt;&gt;&gt; suggest me<br>
&gt;&gt;<br>
&gt;&gt; An additional comment, to supplement Matthieu&#39;s excellent answer.<br>
&gt;&gt;<br>
&gt;&gt; If you can avoid it, don&#39;t convert from PNG or JPEG. Convert from a vector<br>
&gt;&gt; graphics format, if available.<br>
&gt;<br>
&gt; Additional comment to additional comment. Why to bother with eps to<br>
&gt; begin with? Just use pdflatex and it&#39;ll accept png images just fine. And<br>
&gt; you&#39;ll most likely will have less problems when submitting your paper<br>
&gt; due to font embeddings and such.<br>
<br>
</div></div>If you need to include fonts to your publications (e.g. for printing<br>
houses), using latex and dvips (or possibly even pdftops) may still be<br>
needed, and this requires additional processing. I agree that pdflatex<br>
or xetex are the best alternatives for _online_ pdf publishing and you<br>
should always use vector gfx if possible.<br>
<br>
to do the initial conversion, use imagemagick convert (installed in<br>
jalava, etc). e.g. with 300 dpi originals:<br>
convert ín.png -density 300 out.eps<br>
<br>
however, to make sure the resolution is preserved in the final pdf<br>
(assuming you are creating one), you should note the settings in<br>
ghostscript as well since this does affect the information contained in<br>
images regardless of the resolution used in the original conversion.<br>
<br>
for example, when using PREPRESS setting in ghostscript ensures that all<br>
the images are in uniform resolution (possibly lower than the<br>
originals), suitable for printing press:<br>
ps2pdf -dPDFSETTINGS=/prepress -dCompatibilityLevel=1.4<br>
-dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true <a href="http://in.ps" target="_blank">in.ps</a><br>
<br>
you can replace the PREPRESS setting with DEFAULT to keep the<br>
(bitmap-converted) images in as high resolution as possible, but this<br>
does not include fonts.<br>
<br>
<a href="http://pages.cs.wisc.edu/~ghost/doc/AFPL/6.50/Ps2pdf.htm" target="_blank">http://pages.cs.wisc.edu/~ghost/doc/AFPL/6.50/Ps2pdf.htm</a><br>
<font color="#888888"><br>
--<br>
Miika<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Tutkielma-TeX mailing list<br>
<a href="mailto:Tutkielma-TeX@lists.jyu.fi">Tutkielma-TeX@lists.jyu.fi</a><br>
<a href="http://lists.jyu.fi/mailman/listinfo/tutkielma-tex" target="_blank">http://lists.jyu.fi/mailman/listinfo/tutkielma-tex</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Fabián Montealegre<br><br>