<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ascend4.org/index.php?action=history&amp;feed=atom&amp;title=Cutting_up_pages_in_a_scanned_PDF</id>
	<title>Cutting up pages in a scanned PDF - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ascend4.org/index.php?action=history&amp;feed=atom&amp;title=Cutting_up_pages_in_a_scanned_PDF"/>
	<link rel="alternate" type="text/html" href="https://ascend4.org/index.php?title=Cutting_up_pages_in_a_scanned_PDF&amp;action=history"/>
	<updated>2026-06-15T12:16:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://ascend4.org/index.php?title=Cutting_up_pages_in_a_scanned_PDF&amp;diff=5869&amp;oldid=prev</id>
		<title>Jpye: Created page with &quot;If you have a PDF which has been scanned on a photocopier as double-page-spreads from a book, it can be convenient for on-screen reading to have the left and right pages separ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ascend4.org/index.php?title=Cutting_up_pages_in_a_scanned_PDF&amp;diff=5869&amp;oldid=prev"/>
		<updated>2016-09-13T09:11:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;If you have a PDF which has been scanned on a photocopier as double-page-spreads from a book, it can be convenient for on-screen reading to have the left and right pages separ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;If you have a PDF which has been scanned on a photocopier as double-page-spreads from a book, it can be convenient for on-screen reading to have the left and right pages separated.&lt;br /&gt;
&lt;br /&gt;
To convert such a PDF:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=sh&amp;gt;&lt;br /&gt;
# this will generate files for each page of the document, so work in a new subdirectory:&lt;br /&gt;
mkdir temp&lt;br /&gt;
cd temp&lt;br /&gt;
# split out the images from the file&lt;br /&gt;
pdfimages ../scanned-document.pdf page&lt;br /&gt;
# rotate the pages as needed, cut in half, rename to preserve ordering&lt;br /&gt;
for I in `ls page-*.ppm`; do convert -rotate 270 $I -crop 50%x100% +repage rot-$I-%d.ppm; done;&lt;br /&gt;
&lt;br /&gt;
# here, take a quick look at the rot* files are remove any that are unwanted&lt;br /&gt;
&lt;br /&gt;
# recompose into a new PDF document&lt;br /&gt;
convert rot*.ppm chopped-document.pdf&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jpye</name></author>
	</entry>
</feed>