<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sam Wilson&#039;s Journal &#187; JPG</title>
	<atom:link href="http://samwilson.id.au/tag/jpg/feed/" rel="self" type="application/rss+xml" />
	<link>http://samwilson.id.au</link>
	<description>A car-free web geek, recording this and that in the digital memex, mapping and cycling in Fremantle, striving for a bit of simplicity, and now and then building bits of wooden furniture by hand.</description>
	<lastBuildDate>Mon, 30 Jan 2012 09:38:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Concatenating a PDF and a bunch of JPGs</title>
		<link>http://samwilson.id.au/2010/01/29/concatenating-a-pdf-and-a-bunch-of-jpgs/</link>
		<comments>http://samwilson.id.au/2010/01/29/concatenating-a-pdf-and-a-bunch-of-jpgs/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 05:48:02 +0000</pubDate>
		<dc:creator>Sam Wilson</dc:creator>
				<category><![CDATA[Uncategorised]]></category>
		<category><![CDATA[concatenation]]></category>
		<category><![CDATA[image manipulation]]></category>
		<category><![CDATA[JPG]]></category>
		<category><![CDATA[PDFs]]></category>

		<guid isPermaLink="false">http://samwilson.id.au/?p=500</guid>
		<description><![CDATA[Someone here at work wanted to know how to add a three-page PDF to a Word document, and then add a dozen photos after it, and then save the whole mess as a new PDF. I suggested ImageMagick’s convert and pdftk. Combine all the images into one PDF: $ convert *.jpg photos.pdf Put the two [...]]]></description>
			<content:encoded><![CDATA[<p>Someone here at work wanted to know how to add a three-page PDF to a Word document, and then add a dozen photos after it, and then save the whole mess as a new PDF.</p>
<p>I suggested <a href=“http://www.imagemagick.org/script/convert.php”>ImageMagick’s <code>convert</code></a> and <a href=“http://www.accesspdf.com/pdftk/”><code>pdftk</code></a>.</p>
<ol>
<li>Combine all the images into one PDF:
<pre lang=“bash”> $ convert *.jpg photos.pdf </pre>
</li>
<li>Put the two PDFs together:
<pre lang=“bash”> $ pdftk report.pdf photos.pdf cat output report_with_photos.pdf </pre>
</li>
</ol>
<p>And that’s it.</p>
<p>(Of course, when one suggests this sort of thing to someone who wants to use Word, one invariable ends up doing it for them. Which is why I’ve posted this here, so in six months when I’m asked again, I’ll remember how to do it.)</p>
<p><strong>External links:</strong></p>
<p>Skala, M. 2008. <em><a href=“http://ansuz.sooke.bc.ca/software/pdf-append.php”>How to concatenate PDFs without pain</a></em>. </p>
]]></content:encoded>
			<wfw:commentRss>http://samwilson.id.au/2010/01/29/concatenating-a-pdf-and-a-bunch-of-jpgs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

