<?xml version="1.0"?><rss version="2.0">
<channel>
  <title>Alan&#039;s Ramblings - photo tag</title>
  <link>http://bleaklow.com:80/tags/photo/</link>
  <description>My opinions may be incorrect, but they are my own</description>
  <language>en</language>
  <copyright>Alan Burlison</copyright>
  <lastBuildDate>Wed, 29 Feb 2012 20:50:00 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  <image>
    <url>http://bleaklow.com/images/misc/logo.gif</url>
    <title>Alan&#039;s Ramblings</title>
    <link>http://bleaklow.com:80/</link>
  </image>
  <item>
    <title>Image thumbnailer for Pebble</title>
    <link>http://bleaklow.com:80/2010/05/23/image_thumbnailer_for_pebble.html</link>
    <description>
          &lt;p&gt;
This blog uses the &lt;a href=&#034;http://pebble.sourceforge.net/&#034;&gt;Pebble&lt;/a&gt; package for delivering content.  Pebble isn&#039;t a particularly common blogging package but it fits my purely personal and subjective requirements:
&lt;/p&gt;
&lt;p&gt;
&lt;ul&gt;
&lt;li&gt;Not written in PHP (blegh)
&lt;li&gt;Open source, and something in Java would be nice
&lt;li&gt;Doesn&#039;t use a database and uses flat files that I can manage manually if I need to
&lt;li&gt;Good RSS, search, tag and category management
&lt;li&gt;Can be restyled easily
&lt;/ul&gt;
&lt;/p&gt;
&lt;p&gt;The old incarnation of this blog used &lt;a href=&#034;http://www.movabletype.com/&#034;&gt;MovableType&lt;/a&gt; but that doesn&#039;t really tick the Open Source box any more.  blogs.sun.com  uses &lt;a href=&#034;http://rollerweblogger.org/project/&#034;&gt;Roller&lt;/a&gt; but that requires a database back-end.  All these constraints combined to give a pretty short list of candidates, i.e. Pebble.
&lt;/p&gt;
&lt;p&gt;
One thing that Pebble lacks is an image thumbnailer.  I&#039;m not bothered about glossy JavaScript solutions such as &lt;a href=&#034;http://www.huddletogether.com/projects/lightbox2/&#034;&gt;Lightbox&lt;/a&gt;, and I&#039;m quite happy to type in HTML table definitions.  All I wanted was something to save me the tedium of manually generating the thumbnails and typing in the HTML to display them and link to the full-size image in a popup window.  MovableType has this feature but Pebble doesn&#039;t so I sat down one evening and knocked together an equivalent as a Pebble plugin, using the standard &lt;a href=&#034;http://java.sun.com/products/java-media/2D/index.jsp&#034;&gt;Java2D&lt;/a&gt; APIs to do the image manipulation.  All the thumbnails on this site are done with it, and I&#039;ve submitted this as a &lt;a href=&#034;http://open.jira.com/browse/PEBBLE-26&#034;&gt;patch&lt;/a&gt; to Pebble so hopefully it will make it into a future release.
&lt;/p&gt;
&lt;h2&gt;Update&lt;/h2&gt;
&lt;p&gt;
The patch has been accepted and should be appearing in a future version of Pebble.
&lt;/p&gt;
</description>
      <category>Web</category>
    <category>Java</category>
    <comments>http://bleaklow.com:80/2010/05/23/image_thumbnailer_for_pebble.html#comments</comments>
    <guid isPermaLink="true">http://bleaklow.com:80/2010/05/23/image_thumbnailer_for_pebble.html</guid>
    <pubDate>Sun, 23 May 2010 08:54:00 GMT</pubDate>
  </item>
  </channel>
</rss>

