<?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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"><channel><title>Disruptive Library Technology Jester &#187; j2ktilerenderer</title> <atom:link href="http://dltj.org/tag/j2ktilerenderer/feed/" rel="self" type="application/rss+xml" /><link>http://dltj.org</link> <description>We&#039;re Disrupted, We&#039;re Librarians, and We&#039;re Not Going to Take It Anymore</description> <lastBuildDate>Mon, 06 Feb 2012 20:04:22 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <cloud domain='dltj.org' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' /> <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license> <item><title>JPEG2000 to Zoomify Code4Lib Lightning Talk Video Now Available</title><link>http://dltj.org/article/jpeg2000-to-zoomify-lightning-talk-video/</link> <comments>http://dltj.org/article/jpeg2000-to-zoomify-lightning-talk-video/#comments</comments> <pubDate>Thu, 15 May 2008 19:16:33 +0000</pubDate> <dc:creator>Peter Murray</dc:creator> <category><![CDATA[JPEG2000]]></category> <category><![CDATA[code4lib]]></category> <category><![CDATA[code4lib Conference 2008]]></category> <category><![CDATA[j2ktilerenderer]]></category> <category><![CDATA[java]]></category> <category><![CDATA[jpeg2000]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[video]]></category><guid isPermaLink="false">https://dltj.org/?p=366</guid> <description><![CDATA[Thanks, Noel, and everyone else who made the video editions of Code4Lib 2008 presentations possible. I just had a chance to notice that the video from my JPEG2000 to Zoomify Shim lightning talk was online: Some updates since the post &#8230; <a href="http://dltj.org/article/jpeg2000-to-zoomify-lightning-talk-video/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<abbr class="unapi-id ignore noPrint" title="https://dltj.org/?p=366"></abbr><p>Thanks, Noel, and everyone else who made the <a href="http://video.google.com/videosearch?q=code4lib+2008&#038;sitesearch=&#038;num=100" title="code4lib 2008 videos in Google Video">video editions</a> of <a href="http://code4lib.org/conference/2008/schedule" title="Code4Lib 2008 Meeting Schedule">Code4Lib 2008 presentations</a> possible.  I just had a chance to notice that the <a href="http://video.google.com/videoplay?docid=-425356268115125043" title="Code4Lib 2008 Lightning Talk: JPEG2000 to Zoomify Shim video">video</a> from my <a href="http://dltj.org/article/introducing-j2ktilerenderer/">JPEG2000 to Zoomify Shim</a> lightning talk was online:</p><div style="width:400px;margin:0px auto;"><embed id="VideoPlayback" style="width:400px;height:326px" flashvars="" src="http://video.google.com/googleplayer.swf?docid=-425356268115125043&#038;hl=en" type="application/x-shockwave-flash"> </embed></div><p>Some updates since the post and the presentation were first done.  The code that exists in the source code repository now was refactored to use <a href="http://code.google.com/p/jj2000/" title="JJ2000 Public Homepage">JJ2000</a> as part of the Sun <span class="removed_link" title="https://jai-imageio.dev.java.net/">ImageIO</span> package.  We were seeing non-threadsafe problems with <a href="http://www.kakadusoftware.com/" title="Kakadu JPEG 2000 SDK Home Page">Kakadu</a> and thought that using the multithreaded ImageIO package would help.  Unfortunately, even with extensive caching, it did not.  My next task is to bring Kakadu back into the picture using the threadsafe JNI implementation that is part of the <a href="https://imageio-ext.dev.java.net/">ImageIO-ext</a> project to see if that helps.</p><p>Unfortunately, time ran out before this needed to go into initial production with the OhioLINK DRC roll-out, so it isn&#8217;t in production.  The scheme shows promise, though, so I&#8217;m going to keep working with it&#8230;<p style="padding:0;margin:0;font-style:italic;">The text was modified to update a link from http://jj2000.epfl.ch/ to http://code.google.com/p/jj2000/ on January 28th, 2011.</p><p style="padding:0;margin:0;font-style:italic;" class="removed_link">The text was modified to remove a link to https://jai-imageio.dev.java.net/ on June 9th, 2011.</p>]]></content:encoded> <wfw:commentRss>http://dltj.org/article/jpeg2000-to-zoomify-lightning-talk-video/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>JPEG2000 to Zoomify Shim &#8212; Creating JPEG tiles from JPEG2000 images</title><link>http://dltj.org/article/introducing-j2ktilerenderer/</link> <comments>http://dltj.org/article/introducing-j2ktilerenderer/#comments</comments> <pubDate>Thu, 28 Feb 2008 12:15:42 +0000</pubDate> <dc:creator>Peter Murray</dc:creator> <category><![CDATA[JPEG2000]]></category> <category><![CDATA[code4lib]]></category> <category><![CDATA[code4lib Conference 2008]]></category> <category><![CDATA[DSpace]]></category> <category><![CDATA[j2ktilerenderer]]></category> <category><![CDATA[java]]></category> <category><![CDATA[jpeg2000]]></category> <category><![CDATA[restlet]]></category><guid isPermaLink="false">http://dltj.org/article/introducing-j2ktilerenderer/</guid> <description><![CDATA[This is a textual representation of a lightning talk done on Feb 26th at Code4Lib 2008. When the video of the talk is up (thanks, Noel!) I&#8217;ll link it here, too. The video is now available, and that article includes &#8230; <a href="http://dltj.org/article/introducing-j2ktilerenderer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<abbr class="unapi-id ignore noPrint" title="http://dltj.org/article/introducing-j2ktilerenderer/"></abbr><p>This is a textual representation of a lightning talk done on Feb 26th at <a href="http://code4lib.org/conference/2008" title="Code4Lib 2008 Conference Homepage">Code4Lib 2008</a>. <del datetime="2008-05-15T19:17:08+00:00">When the video of the talk is up (thanks, Noel!) I&#8217;ll link it here, too.</del> The video is <a href="http://dltj.org/article/jpeg2000-to-zoomify-lightning-talk-video/">now available</a>, and that article includes an update on progress since the this article was posted.</p><p>OhioLINK has a collection of JPEG2000 images as an access format that were generated for use in our <a href="http://dlxs.org/" title="Digital Library eXtension Service homepage">DLXS</a>-based content system.  We are in the process of migrating those collections to DSpace and were looking for a mechanism to leverage the existing JPEG2000 files and not have to generate new derivatives.  We are also considering the use of JPEG2000 as a preservation format, and would find it attractive to use the same image format for both access copies and preservation copies.  We looked at Zoomify, but to perform its scaling function it generates JPEG tiles at several resolutions and storing those tiles can triple or quadruple disk space requirements.  Or, one could use the &#8216;enterprise&#8217; version of Zoomify and its proprietary PFF format or the equally proprietary MrSID format.  We didn&#8217;t want to be locked into either of these scenarios.  Our solution is to create a web application that mimics the directory-of-JPEG-tiles solution, but to dynamically generate the tiles our of a JPEG2000 master.</p><p>The free version of Zoomify reads JPEG tiles out of a directory structure that looks like this:</p><table cellpadding="3"></table><tr><td style="white-space: nowrap;" valign="top">/ImageProperties.xml</td><td>Includes descriptive elements of the source image like height, width, and tile size.</td></tr><tr><td style="white-space: nowrap" valign="top">/TileGroup0/0-0-0.jpg</td><td>The highest power-of-2 zoom out level that creates an image with dimensions less than 256&#215;256</td></tr><tr><td style="white-space: nowrap" valign="top">/TileGroup0/1-0-0.jpg</td><td>The tile at the upper left corner at the first power-of-2 zoom level</td></tr><tr><td style="white-space: nowrap" valign="top">/TileGroup0/1-1-0.jpg</td><td>The tile to the left of 1-0-0.jpg</td></tr><p>The shim mimics that directory structure.  It parses the URL of the request and dynamically creates the appropriate JPEG tile (or metadata file) out of the JPEG2000 image.</p><p><h2>The Code</h2><br />The JPEG2000 for Zoomify shim requires <a href="http://java.sun.com/javase/downloads/" title="Java Download page">Java</a> 1.5 or greater.  It does not require a servlet engine; rather, it uses the <a href="http://www.restlet.org/" title="Restlet project homepage">Restlet</a> library to perform as a stand-alone application.  The <a href="http://one-jar.sourceforge.net/" title="OneJar project homepage">OneJar</a> library allows the Java classes and required dependencies to be bundled into a single JAR file.  We&#8217;re using the <a href="http://www.kakadusoftware.com/" title="Kakadu Software homepage">Kakadu Software JPEG2000 library</a> to perform the on-the-fly decoding of JPEG2000 images.  Kakadu is a commercial JPEG2000 codec, although <a href="http://www.kakadusoftware.com/index.php?option=com_virtuemart&amp;Itemid=19&amp;vmcchk=1&amp;Itemid=19" title="Kakadu Software purchasing and licensing guidelines">inexpensive licenses are available</a> for not-for-profit activity.  We are using the Enterprise version of <a href="http://www.zoomify.com/" title="Zoomify homepage">Zoomify</a>, a Flash-based image viewer, although I believe the free version will work as well.  (You&#8217;ll need the Enterprise version to be able to modify and adapt the appearance of the Zoomify applet.)  The same techniques can also be used for other Flash applets and probably even JavaScript-based viewers (<i>a la</i> Google Maps).</p><p>The source code is available from the <span class="removed_link" title="https://drc-dev.ohiolink.edu/browser/j2kTileRenderer/trunk">OhioLINK DRC source code repository</span> (<a href="https://drc-dev.ohiolink.edu/svn/j2kTileRenderer/trunk">Subversion access</a>).  We plan to integrate it into DSpace 1.5 as part of the <a href="http://info.drc.ohiolink.edu/" title="Ohio Digital Resource Commons | Save, Discover, and Share Your Resources and the Resources of the World">Ohio Digital Resource Commons</a>, and I may create a Fedora disseminator to serve up the tiles as well.</p><p>Thanks go out to Keith Gilbertson and John Davison on the OhioLINK staff for their help in making this work as well as Stu Hicks and François d&#8217;Erneville for being a sounding board for these ideas.<p style="padding:0;margin:0;font-style:italic;" class="removed_link">The text was modified to remove a link to https://drc-dev.ohiolink.edu/browser/j2kTileRenderer/trunk on January 13th, 2011.</p><p style="padding:0;margin:0;font-style:italic;">The text was modified to update a link from http://code4lib/conference/2008 to http://code4lib.org/conference/2008 on January 28th, 2011.</p><p style="padding:0;margin:0;font-style:italic;">The text was modified to update a link from http://www.kakadusoftware.com/Purchasing.html to http://www.kakadusoftware.com/index.php?option=com_virtuemart&#038;Itemid=19&#038;vmcchk=1&#038;Itemid=19 on January 28th, 2011.</p>]]></content:encoded> <wfw:commentRss>http://dltj.org/article/introducing-j2ktilerenderer/feed/</wfw:commentRss> <slash:comments>13</slash:comments> </item> </channel> </rss>
<!-- Served from: dltj.org @ 2012-02-11 12:43:16 by W3 Total Cache -->
