<?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>Alex Sleat &#187; JPEG</title>
	<atom:link href="https://alexsleat.co.uk/tag/jpeg/feed/" rel="self" type="application/rss+xml" />
	<link>https://alexsleat.co.uk</link>
	<description>/home/alex</description>
	<lastBuildDate>Mon, 18 Jun 2012 12:50:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Using pdfcrop to Remove White Margins &#124; Ubuntu</title>
		<link>https://alexsleat.co.uk/2011/01/25/using-pdfcrop-to-remove-white-margins-ubuntu/</link>
		<comments>https://alexsleat.co.uk/2011/01/25/using-pdfcrop-to-remove-white-margins-ubuntu/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 21:54:03 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[Kindle]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[crop]]></category>
		<category><![CDATA[ebook]]></category>
		<category><![CDATA[font size]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[isadora]]></category>
		<category><![CDATA[JPEG]]></category>
		<category><![CDATA[julia]]></category>
		<category><![CDATA[katya]]></category>
		<category><![CDATA[kindle]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux mint]]></category>
		<category><![CDATA[lisa]]></category>
		<category><![CDATA[nook]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[pdfcrop]]></category>
		<category><![CDATA[resize pdf font]]></category>
		<category><![CDATA[smart phone]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">https://alexsleat.co.uk/?p=11737</guid>
		<description><![CDATA[<br/><p>One of the most annoying things about PDF files are their fixed font size, the only real way of getting a better view at the text is to zoom the whole page in. This isn&#8217;t really a fix for that annoyance but it&#8217;s a way of getting more info to screen ratio by removing [...]]]></description>
			<content:encoded><![CDATA[<br/><p>One of the most annoying things about PDF files are their fixed font size, the only real way of getting a better view at the text is to zoom the whole page in. This isn&#8217;t really a fix for that annoyance but it&#8217;s a way of getting more info to screen ratio by removing the wasted white space around the body of the file for each page, this really comes in useful when displaying PDF files on your Kindle, Nook, Smart Phone or other eBook Readers.</p>
<div class="dean_ch" style="white-space: wrap;"> <span class="kw2">sudo</span> apt-get <span class="kw2">install</span> texlive-extra-utils</div>
<p>It&#8217;s really simple to use and by default it crops all the white space from around an image, it does this per page rather than for the entire document which allows for the best results (as long as you don&#8217;t mind changes in font size when you&#8217;re reading it).</p>
<p><em>Change input.pdf to the name of the file you want to crop and output.pdf to the output cropped file.</em></p>
<div class="dean_ch" style="white-space: wrap;"> pdfcrop input.pdf output.pdf</div>
<p>Some PDFs have better results than others and some PDFs will look the same on eBook readers if they crop the whitespace, but it&#8217;s a useful tool to have for some of those old pesky JPEG PDF files with massive borders all the way around.</p>
<p><strong>Example: Left = input, right = output</strong></p>
<p style="text-align: center;"><a href="https://alexsleat.co.uk/wp-content/uploads/2011/01/pdfcrop.png"><img class="aligncenter size-full wp-image-11821" title="pdfcrop" src="https://alexsleat.co.uk/wp-content/uploads/2011/01/pdfcrop.png" alt="" width="539" height="392" /></a></p>
<p>Some PDF files seem to bring up the following error:</p>
<div class="dean_ch" style="white-space: wrap;">!!! Error: Ghostscript exited with error code <span class="nu0">1</span>!</div>
<p>I&#8217;m currently not sure what causes this, possibly something to do with the encoding type of the PDF? or maybe just some missing dependencies..</p>
<p>For more info about pdfcrop check out the Ubuntu Manpage: <a href="http://manpages.ubuntu.com/manpages/gutsy/man1/pdfcrop.1.html">http://manpages.ubuntu.com/manpages/gutsy/man1/pdfcrop.1.html</a></p>
]]></content:encoded>
			<wfw:commentRss>https://alexsleat.co.uk/2011/01/25/using-pdfcrop-to-remove-white-margins-ubuntu/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>FYP &#124; mbed + C328 First Image</title>
		<link>https://alexsleat.co.uk/2010/09/17/fyp-mbed-c328-first-image/</link>
		<comments>https://alexsleat.co.uk/2010/09/17/fyp-mbed-c328-first-image/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 03:33:38 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[Final Year Project]]></category>
		<category><![CDATA[c328]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[final year project]]></category>
		<category><![CDATA[fyp]]></category>
		<category><![CDATA[JPEG]]></category>
		<category><![CDATA[machine vision]]></category>
		<category><![CDATA[mbed]]></category>
		<category><![CDATA[robotics]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[uart]]></category>
		<category><![CDATA[UWE]]></category>

		<guid isPermaLink="false">https://alexsleat.co.uk/?p=691</guid>
		<description><![CDATA[<br/><p>After spending some time to write mbed drivers for the C328 camera for mbed and then taking a break, it looks like someone swooped in and did a cracking job &#8211; http://mbed.org/users/shintamainjp/notebook/CameraC328/. The test program takes uncompressed snapshot (80x60px), uncompressed preview (80x60px), JPEG snapshot and JPEG preview images and stores them on the mbed [...]]]></description>
			<content:encoded><![CDATA[<br/><p>After spending some time to write mbed drivers for the C328 camera for mbed and then taking a break, it looks like someone swooped in and did a cracking job &#8211; <a href="http://mbed.org/users/shintamainjp/notebook/CameraC328/">http://mbed.org/users/shintamainjp/notebook/CameraC328/</a>. The test program takes uncompressed snapshot (80x60px), uncompressed preview (80x60px), JPEG snapshot and JPEG preview images and stores them on the mbed filesystem which allows you to grab them via USB.</p>
<p>A huge issue it looks like I&#8217;m going to face is that it takes on average about 6.9 seconds (or a incredible 0.145fps) to take a 80x60px uncompressed image and around 11.6 seconds (0.08621fps) for a 640x480px JPEG image, which I think may be more down to the camera than the mbed or software. If that is the case, there may be a pretty high chance I&#8217;m going to have to switch my camera.</p>
<p>I&#8217;ll have to explore the code a little more tomorrow to see how this work (in the hours when it&#8217;s not so late/early) but this should be perfect since it should give me more time for vision processing..</p>
<div id="attachment_693" class="wp-caption aligncenter" style="width: 650px"><a href="https://alexsleat.co.uk/wp-content/uploads/2010/09/JPPV0000.jpg"><img class="size-full wp-image-693" title="mbed + c328" src="https://alexsleat.co.uk/wp-content/uploads/2010/09/JPPV0000.jpg" alt="jpeg preview" width="640" height="480" /></a><p class="wp-caption-text">mbed + C328 - JPEG Preview (640x480px)</p></div>
]]></content:encoded>
			<wfw:commentRss>https://alexsleat.co.uk/2010/09/17/fyp-mbed-c328-first-image/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
