<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: png2pdf with pdflatex</title>
	<atom:link href="http://seife.kernalert.de/blog/2009/12/08/png2pdf-with-pdflatex/feed/" rel="self" type="application/rss+xml" />
	<link>http://seife.kernalert.de/blog/2009/12/08/png2pdf-with-pdflatex/</link>
	<description>Move on, nothing to see here.</description>
	<pubDate>Sun, 05 Sep 2010 16:09:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: seife</title>
		<link>http://seife.kernalert.de/blog/2009/12/08/png2pdf-with-pdflatex/comment-page-1/#comment-13976</link>
		<dc:creator>seife</dc:creator>
		<pubDate>Wed, 09 Dec 2009 09:31:45 +0000</pubDate>
		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=167#comment-13976</guid>
		<description>I think that the PNGs are actually pretty well comressed already (I converted them to 256 color palette PNGs with GIMP before etc), so there is probably not much to gain. But I will also write this down for future reference.</description>
		<content:encoded><![CDATA[<p>I think that the PNGs are actually pretty well comressed already (I converted them to 256 color palette PNGs with GIMP before etc), so there is probably not much to gain. But I will also write this down for future reference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Vidner</title>
		<link>http://seife.kernalert.de/blog/2009/12/08/png2pdf-with-pdflatex/comment-page-1/#comment-13974</link>
		<dc:creator>Martin Vidner</dc:creator>
		<pubDate>Wed, 09 Dec 2009 09:27:16 +0000</pubDate>
		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=167#comment-13974</guid>
		<description>It may also be useful to compress the images in the PDF:
"convert -compress jpeg scan*.jpg scan.pdf". ImageMagick rulez. Thanks to Prague colleagues for the tips. http://twitter.com/mvidner/status/1354243963

(LaTeX! Switches your brain to German!)</description>
		<content:encoded><![CDATA[<p>It may also be useful to compress the images in the PDF:<br />
&#8220;convert -compress jpeg scan*.jpg scan.pdf&#8221;. ImageMagick rulez. Thanks to Prague colleagues for the tips. <a href="http://twitter.com/mvidner/status/1354243963" rel="nofollow">http://twitter.com/mvidner/status/1354243963</a></p>
<p>(LaTeX! Switches your brain to German!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bernhard Walle</title>
		<link>http://seife.kernalert.de/blog/2009/12/08/png2pdf-with-pdflatex/comment-page-1/#comment-13971</link>
		<dc:creator>Bernhard Walle</dc:creator>
		<pubDate>Wed, 09 Dec 2009 07:44:31 +0000</pubDate>
		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=167#comment-13971</guid>
		<description>Ah, and I think the negative left margin is because the first line of a paragraph gets indented in LaTeX (instead of separating paragraphs with space, LaTeX indents the first line by default). Das kann man mit

\usepackage{parskip}

oder

\setlength{\parindent}{0em}

abschalten. Dann sollte ein linker Rand von 0cm und eine Blattbreite von 210 mm (A4) funktionieren.</description>
		<content:encoded><![CDATA[<p>Ah, and I think the negative left margin is because the first line of a paragraph gets indented in LaTeX (instead of separating paragraphs with space, LaTeX indents the first line by default). Das kann man mit</p>
<p>\usepackage{parskip}</p>
<p>oder</p>
<p>\setlength{\parindent}{0em}</p>
<p>abschalten. Dann sollte ein linker Rand von 0cm und eine Blattbreite von 210 mm (A4) funktionieren.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RGB</title>
		<link>http://seife.kernalert.de/blog/2009/12/08/png2pdf-with-pdflatex/comment-page-1/#comment-13951</link>
		<dc:creator>RGB</dc:creator>
		<pubDate>Tue, 08 Dec 2009 21:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=167#comment-13951</guid>
		<description>- On kde, open the image with gwenview -&gt; Ctrl+P -&gt; print to pdf. There must be something similar under gnome...
- Create a new OOo Draw file -&gt; insert the png -&gt; File -&gt; Export as pdf
Life is short... ;)</description>
		<content:encoded><![CDATA[<p>- On kde, open the image with gwenview -&gt; Ctrl+P -&gt; print to pdf. There must be something similar under gnome&#8230;<br />
- Create a new OOo Draw file -&gt; insert the png -&gt; File -&gt; Export as pdf<br />
Life is short&#8230; <img src='http://seife.kernalert.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seife</title>
		<link>http://seife.kernalert.de/blog/2009/12/08/png2pdf-with-pdflatex/comment-page-1/#comment-13948</link>
		<dc:creator>seife</dc:creator>
		<pubDate>Tue, 08 Dec 2009 19:20:24 +0000</pubDate>
		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=167#comment-13948</guid>
		<description>Bernhard, xsane would be an option - if I did not want to touch the scans before converting (for example setting the background color of the scanned document to all plain white instead of the thousands of different greys it had before surely helped get the size down from 10MB per page to 3MB per page, the rest was saved by going from 600dpi to 300dpi, now the whole PDF is ~1.2MB)

But keep the suggestions coming, I'll probably collect them all and put them into a new post, so that others benefit from them ;)</description>
		<content:encoded><![CDATA[<p>Bernhard, xsane would be an option - if I did not want to touch the scans before converting (for example setting the background color of the scanned document to all plain white instead of the thousands of different greys it had before surely helped get the size down from 10MB per page to 3MB per page, the rest was saved by going from 600dpi to 300dpi, now the whole PDF is ~1.2MB)</p>
<p>But keep the suggestions coming, I&#8217;ll probably collect them all and put them into a new post, so that others benefit from them <img src='http://seife.kernalert.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bernhard Walle</title>
		<link>http://seife.kernalert.de/blog/2009/12/08/png2pdf-with-pdflatex/comment-page-1/#comment-13947</link>
		<dc:creator>Bernhard Walle</dc:creator>
		<pubDate>Tue, 08 Dec 2009 19:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=167#comment-13947</guid>
		<description>xsane can scan directly to PDF. Regarding multipage: The tool "pdftk" can easily concat more pages to one PDF file and do much more.</description>
		<content:encoded><![CDATA[<p>xsane can scan directly to PDF. Regarding multipage: The tool &#8220;pdftk&#8221; can easily concat more pages to one PDF file and do much more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seife</title>
		<link>http://seife.kernalert.de/blog/2009/12/08/png2pdf-with-pdflatex/comment-page-1/#comment-13946</link>
		<dc:creator>seife</dc:creator>
		<pubDate>Tue, 08 Dec 2009 19:02:55 +0000</pubDate>
		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=167#comment-13946</guid>
		<description>Gulli, yes, I just did not think of ImageMagick. The output is pretty good, I cannot spot any differences to the PDF I got from pdflatex, and the size is about the same (a few kB bigger with convert, but that's for a 1.2MB PDF).

I knew that there was the possibility of going through at least three different formats and then to pdf, but I wanted to avoid that.

And I had used TeX template the day before to write a letter, so the logical choice for the question "how to create a PDF?" was "use pdflatex".

And in the end, my 9 lines of TeX are not more awkwared than going through pnm and ps to get pdf. I still would need to arrange the two pages then ;)</description>
		<content:encoded><![CDATA[<p>Gulli, yes, I just did not think of ImageMagick. The output is pretty good, I cannot spot any differences to the PDF I got from pdflatex, and the size is about the same (a few kB bigger with convert, but that&#8217;s for a 1.2MB PDF).</p>
<p>I knew that there was the possibility of going through at least three different formats and then to pdf, but I wanted to avoid that.</p>
<p>And I had used TeX template the day before to write a letter, so the logical choice for the question &#8220;how to create a PDF?&#8221; was &#8220;use pdflatex&#8221;.</p>
<p>And in the end, my 9 lines of TeX are not more awkwared than going through pnm and ps to get pdf. I still would need to arrange the two pages then <img src='http://seife.kernalert.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seife</title>
		<link>http://seife.kernalert.de/blog/2009/12/08/png2pdf-with-pdflatex/comment-page-1/#comment-13945</link>
		<dc:creator>seife</dc:creator>
		<pubDate>Tue, 08 Dec 2009 18:55:14 +0000</pubDate>
		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=167#comment-13945</guid>
		<description>Michal, that works pretty well. I actually did not expect it to be so easy ;) I assumed that it surely would not create a multiple-page PDF, but it does, and very nicely so.

anon, I personally find ghostscript always a pain to use, even more than TeX ;), and the CUPS PDF printer - well, my wife would probably just have drag-and-dropped the PNGs into an openoffice writer document and then just "printed" that to PDF, but hey, there really is no fun in doing that, is there? ;)

Thanks for the suggestions, I'll write down the "convert" line for future reference.</description>
		<content:encoded><![CDATA[<p>Michal, that works pretty well. I actually did not expect it to be so easy <img src='http://seife.kernalert.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> I assumed that it surely would not create a multiple-page PDF, but it does, and very nicely so.</p>
<p>anon, I personally find ghostscript always a pain to use, even more than TeX ;), and the CUPS PDF printer - well, my wife would probably just have drag-and-dropped the PNGs into an openoffice writer document and then just &#8220;printed&#8221; that to PDF, but hey, there really is no fun in doing that, is there? <img src='http://seife.kernalert.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Thanks for the suggestions, I&#8217;ll write down the &#8220;convert&#8221; line for future reference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gulli</title>
		<link>http://seife.kernalert.de/blog/2009/12/08/png2pdf-with-pdflatex/comment-page-1/#comment-13944</link>
		<dc:creator>Gulli</dc:creator>
		<pubDate>Tue, 08 Dec 2009 18:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=167#comment-13944</guid>
		<description>The convert tool from ImageMagick is able to produce pdfs from pngs.  
Then there are also tools to convert png to pnm (pngtopnm) and from pnm to ps (pnmtops) and finally from ps to pdf (ps2pdf).
Don't know which method provides the best output though.</description>
		<content:encoded><![CDATA[<p>The convert tool from ImageMagick is able to produce pdfs from pngs.<br />
Then there are also tools to convert png to pnm (pngtopnm) and from pnm to ps (pnmtops) and finally from ps to pdf (ps2pdf).<br />
Don&#8217;t know which method provides the best output though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anon</title>
		<link>http://seife.kernalert.de/blog/2009/12/08/png2pdf-with-pdflatex/comment-page-1/#comment-13943</link>
		<dc:creator>anon</dc:creator>
		<pubDate>Tue, 08 Dec 2009 18:23:46 +0000</pubDate>
		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=167#comment-13943</guid>
		<description>Why not use ghostscript, imagemagick, or the CUPS PDF printer?</description>
		<content:encoded><![CDATA[<p>Why not use ghostscript, imagemagick, or the CUPS PDF printer?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
