<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4356&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Guide on how to recover a corrupt pdf]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4356</link>
		<description><![CDATA[The most recent posts in Guide on how to recover a corrupt pdf.]]></description>
		<lastBuildDate>Sun, 06 Jun 2021 10:48:10 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Guide on how to recover a corrupt pdf]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=30049#p30049</link>
			<description><![CDATA[<p>Hi,</p><p>In this instance I am referring to an Application I purchased this year. pdf Studio Pro 2020 by Qoppa, one of the few pdf editor software that still supports GNU/Linux (the other is Master pdf editor). I went for the Qoppa one based on high scoring reviews on &#039;alternative to&#039; website. My corrupt file occurred because I had a failing hard drive which I was not aware of at the time. The application uses java and during failing hard drive phase I could not render the partially altered pdf (an Exam paper for a student with low vision). I did some searching and found this useful command line tool, </p><div class="codebox"><pre><code>pdftk</code></pre></div><p>To fix a corrupt file:</p><div class="codebox"><pre><code>pdftk &lt;name of file&gt; output fixed.pdf</code></pre></div><p>i used &#039;fixed.pdf&#039; as an example as it makes it easier to find.</p><p>Next I opened up the fixed.pdf in LibreOffice Draw and exported as fixedA.pdf on which I then open in Okular.</p><p>From here I could use the selection tool in Okular for highlighting text to copy to clipboard then drop into place in pdf Studio Pro 2020.</p><p>Now as for images I had enhanced using GIMP to delete labels, then enhance in Inkscape, because I now have the fixed.pdf open in LibreOffice draw I can select the modified images only without the labels to copy and paste into pdf Studio Pro 2020 - saved a lot of time of not having to start from scratch!</p><p>pdftk is available via Synaptic Package Manager.</p>]]></description>
			<author><![CDATA[dummy@example.com (swarfendor437)]]></author>
			<pubDate>Sun, 06 Jun 2021 10:48:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=30049#p30049</guid>
		</item>
	</channel>
</rss>
