<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<link rel="alternate" type="text/html" href="https://gamma.unpythonic.net/"/>

<title>Jeff Epler's blog</title>
<modified>2009-07-24T02:19:06Z</modified>
<tagline>Photos, electronics, cnc, and more</tagline>
<author><name>Jeff Epler</name><email>jepler@unpythonic.net</email></author>
<entry>
<title>CropGUI 0.1.1: now with gtk</title>
<issued>2009-07-24T02:19:06Z</issued>
<modified>2009-07-24T02:19:06Z</modified>
<id>https://gamma.unpythonic.net/01248401946</id>
<link rel="alternate" type="text/html" href="https://gamma.unpythonic.net/01248401946"/>
<content type="text/html" mode="escaped">
&lt;div style=&quot;float:right;clear:right&quot;&gt;&lt;!-- cropgtk.png--&gt;&lt;div class=albumouter style=width:306px id=&gt;&lt;div class=albumimage style=&quot;width:306px;margin-left:0.0px;&quot;&gt;&lt;a href=&quot;https://media.unpythonic.net/emergent-files/01248401946/cropgtk.png&quot; class=&quot;thickbox&quot; rel=&quot;album&quot; title=&quot;Gtk version of cropgui&quot;&gt;&lt;img src=&quot;https://media.unpythonic.net/emergent-files/01248401946/cropgtk-small.jpg&quot; width=300 height=259&gt;&lt;/a&gt;&lt;div &gt;&lt;div style=&quot;float: right&quot; &gt;&lt;a href=&quot;https://media.unpythonic.net/emergent-files/01248401946/cropgtk.png&quot;&gt;&lt;img class=zoom src=&quot;https://media.unpythonic.net/emergent-files/default/zoom.png&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;https://media.unpythonic.net/emergent-files/01248401946/cropgtk.png&quot;&gt;Gtk version of cropgui&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;a href=&quot;https://gamma.unpythonic.net/01235516977&quot;&gt;Earlier this year&lt;/a&gt;, I released a
program for lossless cropping of jpeg images.  This week, based on
feedback from Ingrid, I ported the program to gtk (it originally used
tkinter).</content>
</entry>
<entry>
<title>cropgui: A Linux GUI for Lossless JPEG Cropping</title>
<issued>2009-02-24T23:09:37Z</issued>
<modified>2009-02-24T23:09:37Z</modified>
<id>https://gamma.unpythonic.net/01235516977</id>
<link rel="alternate" type="text/html" href="https://gamma.unpythonic.net/01235516977"/>
<content type="text/html" mode="escaped">
&lt;div style=&quot;float:right;clear:right&quot;&gt;&lt;!-- cropgui.jpg--&gt;&lt;div class=albumouter style=width:306px id=&gt;&lt;div class=albumimage style=&quot;width:306px;margin-left:0.0px;&quot;&gt;&lt;a href=&quot;https://media.unpythonic.net/emergent-files/01235516977/cropgui.jpg&quot; class=&quot;thickbox&quot; rel=&quot;album&quot; title=&quot;Cropping a tiny insect&quot;&gt;&lt;img src=&quot;https://media.unpythonic.net/emergent-files/01235516977/cropgui-small.jpg&quot; width=300 height=228&gt;&lt;/a&gt;&lt;div &gt;&lt;div style=&quot;float: right&quot; &gt;&lt;a href=&quot;https://media.unpythonic.net/emergent-files/01235516977/cropgui.jpg&quot;&gt;&lt;img class=zoom src=&quot;https://media.unpythonic.net/emergent-files/default/zoom.png&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;https://media.unpythonic.net/emergent-files/01235516977/cropgui.jpg&quot;&gt;Cropping a tiny insect&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;b&gt;Update&lt;/b&gt;: See the &lt;a href=&quot;https://gamma.unpythonic.net/01248401946&quot;&gt;newer version of cropgui&lt;/a&gt;

&lt;p&gt;Of the pictures from my recent trip I'd like to put online, I've found
that in 75% of the cases where I want to retouch the photo, it's to crop
it and nothing else.  Since I shoot in jpeg, it's a lossy process to
load the jpeg in gimp, crop it, and write the result.

&lt;p&gt;But it turns out that debian's jpegtran has a &amp;quot;-crop&amp;quot; flag which
performs lossless cropping of jpeg images as long as the crop is to a
multiple of what the manpage calls the &amp;quot;iMCU boundary&amp;quot;, a (usually?) 8x8
block of pixels.  This feature was pioneered by Guido of &lt;a href=&quot;http://jpegclub.org/&quot;&gt;jpegclub.org&lt;/a&gt; some years ago.

&lt;p&gt;There's apparently a nice &lt;a href=&quot;http://www.softpedia.com/progScreenshots/Jpegcrop-Screenshot-91058.html&quot;&gt;Windows front-end to this program&lt;/a&gt;, but I didn't find a Linux one.  So I wrote one!  It's pretty basic,
but it gets the job done.  You can download it below.</content>
</entry>
</feed>
