<?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; j2karclib</title> <atom:link href="http://dltj.org/tag/j2karclib/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>Archiving in Practice with JPEG2000:  ALA Annual Conference, June 29, 8am-10am</title><link>http://dltj.org/article/j2kig-ala2008/</link> <comments>http://dltj.org/article/j2kig-ala2008/#comments</comments> <pubDate>Tue, 24 Jun 2008 15:34:05 +0000</pubDate> <dc:creator>Peter Murray</dc:creator> <category><![CDATA[JPEG2000]]></category> <category><![CDATA[ALA Annual Conference 2008]]></category> <category><![CDATA[j2karclib]]></category> <category><![CDATA[jpeg2000]]></category><guid isPermaLink="false">https://dltj.org/?p=383</guid> <description><![CDATA[Download iCal fileThe JPEG2000 in Archives and Libraries Interest Group of the LITA division of ALA is pleased to present a program on Archiving in Practice with JPEG2000 on Sunday, June 29th from 8am to 10am in Ballroom E, Anaheim &#8230; <a href="http://dltj.org/article/j2kig-ala2008/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<abbr class="unapi-id ignore noPrint" title="https://dltj.org/?p=383"></abbr><div style="float:right; padding: 0.5em 1.5em 3em 0"><a href="http://suda.co.uk/projects/microformats/hcalendar/get-cal.php?uri=http://j2kArcLib.info/node/120" title="http://suda.co.uk/projects/microformats/hcalendar/get-cal.php?uri=http://j2kArcLib.info/node/120"><img src="http://cdn.dltj.org/wp-content/uploads/2008/06/microformat_hcalendar.png" alt="hCalendar Encoded Microformat" width="80" height="15" /><br />Download iCal file</a></div><p>The <span class="removed_link" title="http://www.lita.org/ala/lita/litamembership/litaigs/jpeg2000/jk2kig.cfm">JPEG2000 in Archives and Libraries Interest Group</span> of the <a href="http://www.lita.org/" title="LITA homepage"><acronym title="Library and Information Technology Association">LITA</acronym></a> division of <a href="http://www.ala.org/" title="ALA Homepage"><acronym title="American Library Association">ALA</acronym></a> is pleased to present a program on <span class="summary"><strong>Archiving in Practice with JPEG2000</strong></span> on <strong>Sunday, June 29th</strong> from <strong><abbr class="dtstart" title="20080629T0800-0700" style="border:none;text-decoration: none;">8am</abbr> to <abbr class="dtend" title="20080629T1000-0700" style="border:none;text-decoration: none;">10am</abbr></strong> in <span class="location"><strong>Ballroom E, Anaheim Convention Center</strong></span>.</p><p>The lead presentation will be given by Justin D&aacute;vila, Digital Media Workflow, Business and Technology consultant.  The formal presentation will be followed an invitation to the audience to present five-minute lightning talks on the topic of JPEG2000 for cultural heritage archiving and access.  More details can be found in the <span class="removed_link" title="http://j2karclib.info/node/120">announcement on the j2kArcLib.info website</span>.<br /><span id="more-383"></span><br /><h2>Update</h2></p><p>20080717T1338 : <a href="http://presentations.ala.org/index.php?title=ALAac2008_j2kIG" title="http://presentations.ala.org/index.php?title=ALAac2008_j2kIG">Slides from the presentation</a> are posted on the ALA Presentations website.<p style="padding:0;margin:0;font-style:italic;" class="removed_link">The text was modified to remove a link to http://j2karclib.info/node/120 on January 19th, 2011.</p><p style="padding:0;margin:0;font-style:italic;" class="removed_link">The text was modified to remove a link to http://www.lita.org/ala/lita/litamembership/litaigs/jpeg2000/jk2kig.cfm on June 9th, 2011.</p>]]></content:encoded> <wfw:commentRss>http://dltj.org/article/j2kig-ala2008/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Is JPEG Good Enough for Archival Masters?</title><link>http://dltj.org/article/jpeg-as-master/</link> <comments>http://dltj.org/article/jpeg-as-master/#comments</comments> <pubDate>Wed, 06 Feb 2008 03:51:24 +0000</pubDate> <dc:creator>Peter Murray</dc:creator> <category><![CDATA[Raw Technology]]></category> <category><![CDATA[imaging]]></category> <category><![CDATA[j2karclib]]></category> <category><![CDATA[jpeg2000]]></category> <category><![CDATA[photography]]></category> <category><![CDATA[preservation]]></category><guid isPermaLink="false">http://dltj.org/article/jpeg-as-master/</guid> <description><![CDATA[On the ImageLib mailing list, Rob Lancefield (Manager of Museum Information Services for Wesleyan University) posted a link to the Universal Photographic Digital Imaging Guidelines (UPDIG) for image creators. The introduction says: &#8220;These 12 guidelines — provided as a Quick &#8230; <a href="http://dltj.org/article/jpeg-as-master/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<abbr class="unapi-id ignore noPrint" title="http://dltj.org/article/jpeg-as-master/"></abbr><p>On the <a href="http://listserv.arizona.edu/archives/imagelib.html" title="Archives of IMAGELIB@LISTSERV.ARIZONA.EDU">ImageLib mailing list</a>, Rob Lancefield (Manager of Museum Information Services for Wesleyan University) posted a link to the <a href="http://www.updig.org/guidelines/" title="Universal Photographic Digital Imaging Guidelines  homepage">Universal Photographic Digital Imaging Guidelines</a> (UPDIG) for image creators.  The introduction says: &#8220;These 12 guidelines — provided as a Quick Guide plus an in-depth Complete Guide — aim to clarify the issues affecting accurate reproduction and management of digital image files. Although they largely reflect a photographer&#8217;s perspective, anyone working with digital images should find them useful&#8230;.    This document, prepared by the UPDIG working group, represents the industry consensus as of September 2007.&#8221;  The <a href="http://www.updig.org/published/Updig.AboutUPDIG.html" title="About UPDIG">listed members of UPDIG</a> leads one to believe that this is a professional photography group.  One thing in the introduction to the guidelines caught my eye, though:<br /><blockquote>The chapter on archiving now has a discussion of JPEG as an archival format.</p></blockquote><p>Note that the authors do indeed mean JPEG (circa 1994), not JPEG2000.  The <a href="http://www.updig.org/guidelines/archiving.php" title="UPDIG: Archiving">chapter on archiving</a> lists the pros and cons of a number of formats, to include JPEG.  The following bullet points are excerpted from the text.</p><ul type="square"><li><b>Conversion to TIFF files</b>: By converting images to TIFF format [from camera RAW], the photographer is storing the images in the most accessible file format&#8230;  There is a downside, however. TIFF files are much larger than RAW files&#8230;  Another downside to conversion to TIFF is that it precludes the use of better RAW converters that are surely coming in the future.</li><li><b>Archiving JPEG files</b>: Conventional wisdom holds that the TIFF format holds a quality advantage over the JPEG format. This holds true only if the JPEG file is saved at less than 10 quality using the Photoshop standard. When using JPEG quality 10 or 12, the artifacts are either non-existent or insignificant. Higher bit-depth is really the only advantage of using TIFF over JPEG 10 or 12 (in terms of image quality)&#8230; <i>Update 2008-02-11:  Please see below.</i></li><li><b>Archiving RAW files</b>: If a photographer chooses to archive the RAW file, then he will be preserving the largest number of options for future conversion of the files&#8230; This, too, has its downside. RAW files will likely have to be converted to a more universal file format at some time in the future.</li><li><b>Archiving DNG files:</b> RAW files can be converted to DNG, a documented TIFF-based format created by Adobe that can store the RAW image data, metadata, and a color-corrected JPEG preview of the image. The DNG file format provides a common platform for information about the file and adjustments to the image&#8230;  DNG is likely to be readable long after the original RAW format becomes obsolete, simply because there will be so many more of them than any particular RAW file format&#8230;  There’s a downside to DNG, of course. Conversion to DNG requires an extra step at the time of RAW file processing; it does not take terribly long, but it is an extra process.</li></ul><p>Update 2008-02-11:  Ken Fleisher noted in the comments that the excerpt above was truncated before his reasoning was described.  In the interest of clarity, the full text of this bullet point on the UPDIG site is:<br /><blockquote>Archiving JPEG files: Conventional wisdom holds that the TIFF format holds a quality advantage over the JPEG format. This holds true only if the JPEG file is saved at less than 10 quality using the Photoshop standard. When using JPEG quality 10 or 12, the artifacts are either non-existent or insignificant. Higher bit-depth is really the only advantage of using TIFF over JPEG 10 or 12 (in terms of image quality). Some have argued that that JPEG, because of the way it encodes data, compromises color. This is a misconception. When using the highest quality settings, there is no loss of color fidelity. Therefore, if JPEG files are saved at 10-12 quality, and if they do not require much pixel editing before use, archiving JPEG files is not a bad concept, and it can save a lot of space. For many picture archives, the economics of storing large numbers of files dominates all other considerations, and JPEG offers a feasible solution to the problem.</p></blockquote><p>The notes at the end of the chapter say:  &#8220;The archiving JPEG section is based on research and analysis by Ken Fleisher.&#8221;</p><p>So I wonder what is going on here.  Does the cultural heritage community have a different definition of the word <em>archive</em> from the professional photography community?  Are there sufficient differences in our goals that warrant the differences in practices?</p><p>This topic is of interest because the program of the <span class="removed_link" title="http://www.ala.org/ala/lita/litamembership/litaigs/jpeg2000/jk2kig.cfm">JPEG2000 in Archives and Libraries Interest Group</span> of the <a href="http://www.lita.org/" title="LITA homepage">Library and Information Technology Association</a> (LITA) will be <a href="http://litablog.org/2008/01/16/2008mw-j2kig/" title="Minutes of the meeting of the JPEG 2000 Interest Group on Jan 14th in Philadelphia">holding a panel</a> at the <a href="http://www.ala.org/ala/eventsandconferencesb/annual/2008a/home.htm" title="ALA Annual Conference 2008 homepage">ALA Annual Conference in Anaheim this summer</a> on using the JPEG2000 file format for archival purposes.  Part of the discussion will center around the notion of visually lossless versus data lossless compression.  This mention of lossy-yet-high-quality JPEG compression seems to fit into the same topic.<p style="padding:0;margin:0;font-style:italic;" class="removed_link">The text was modified to remove a link to http://www.ala.org/ala/lita/litamembership/litaigs/jpeg2000/jk2kig.cfm on June 9th, 2011.</p>]]></content:encoded> <wfw:commentRss>http://dltj.org/article/jpeg-as-master/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>Meeting of the JPEG 2000 Interest Group on Jan 12th in Philadelphia</title><link>http://dltj.org/article/j2kig-mw2008/</link> <comments>http://dltj.org/article/j2kig-mw2008/#comments</comments> <pubDate>Fri, 04 Jan 2008 16:25:00 +0000</pubDate> <dc:creator>Peter Murray</dc:creator> <category><![CDATA[JPEG2000]]></category> <category><![CDATA[ALA Midwinter Conference 2008]]></category> <category><![CDATA[conference]]></category> <category><![CDATA[j2karclib]]></category> <category><![CDATA[jpeg2000]]></category> <category><![CDATA[Library and Information Technology Association]]></category><guid isPermaLink="false">http://dltj.org/2008/01/j2kig-mw2008/</guid> <description><![CDATA[Download iCal fileSaturday, January 12th from 1:30pm to 3:30pm &#8212; j2kIG Meeting at Chestnut room in the Radisson Plaza hotelThe JPEG2000 Interest Group of LITA will be holding a business meeting to discuss plans for a program at the ALA &#8230; <a href="http://dltj.org/article/j2kig-mw2008/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<abbr class="unapi-id ignore noPrint" title="http://dltj.org/2008/01/j2kig-mw2008/"></abbr><div class="vevent" id="hcalendar-j2kig-mw2008"><div style="float:left; padding: 0.5em 1.5em 3em 0"><a href="http://suda.co.uk/projects/microformats/hcalendar/get-cal.php?uri=http://dltj.org/2008/01/j2kig-mw2008"><img src="http://cdn.dltj.org/wp-content/uploads/2008/01/microformat_hcalendar.png" alt="hCalendar Encoded Microformat" width="80" height="15" /><br />Download iCal file</a></div><p>Saturday, January 12th from <abbr class="dtstart" title="20080112T1330-0400">1:30pm</abbr> to <abbr class="dtend" title="20080112T1530-0400">3:30pm</abbr> &mdash; <span class="summary">j2kIG Meeting</span> at <span class="location">Chestnut room in the Radisson Plaza hotel</span></p><p>The JPEG2000 Interest Group of LITA will be holding a business meeting to discuss plans for a program at the ALA Annual Conference in Anaheim in June.  Anyone with an interest in the use of JPEG2000 in Archives and Libraries is welcome to attend the meeting, whether or not you are a member of LITA.</p></div><p><h2>Agenda</h2></p><ol><li>Finalize plans for program at ALA Annual in Anaheim</li><li>Interest group renewal and solicitation for an IG chair</li><li>Information sharing about projects, issues, successes/failures</li></ol><p><h2>Proposed ALA Annual Program Details</h2><br />This is the text that was submitted to and accepted by the LITA Program Planning Committee.</p><p><em>Proposed Program Title:</em> Archiving in Practice with JPEG2000</p><p><em>Program Restrictions (i.e., speaker date restrictions, conflict times, etc.):</em> None at this time</p><p><em>Program Day and Time: </em></p><p><em>Tentative Program Description (75 words or less):</em> The topic is surrounding the use of JPEG2000 as an archival format.  Part of the presentation would be on the use of JPEG2000 as an archival format, timed to follow the release of an in-depth study on this topic by Stephen Abrahams, Stephen Chapman, and John Kuntz for the IS&#038;T conference in the fall.  Participants in the IG meeting would like to see this perspective balanced with a speaker offering considerations on why one should choose not to adopt the standard.  Another part of the program would be on the process for considering the adoption of the JPEG2000 file format in practice, perhaps someone from the Library of Congress related to the NDNP project.  A third component of the program would be from a vendor and/or open source tool user on the available toolsets and what to consider when adopting the new file format.  [This more extensive description is offered in leu of an in-person meeting with PPC.  It will be trimmed for the published program copy.]</p><p><em>Target Audience and Estimated Size:</em> Digital library practitioners, archivists; approximately 150-200 in attendance</p><p><em>Possible program track (identify 1, 2 and 3 choices):</em><br /> 1st choice: Digital Information &#038; Technologies<br /> Subtrack: n/a<br /> 2nd choice: Transformation &#038; Innovations<br /> Subtrack: n/a<br /> 3rd choice: Collection Management &#038; Technical Services<br /> Subtrack: Digital Collection Development</p>]]></content:encoded> <wfw:commentRss>http://dltj.org/article/j2kig-mw2008/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Minutes of the JPEG2000 Interest Group Posted</title><link>http://dltj.org/article/minutes-of-the-jpeg2000-interest-group-posted/</link> <comments>http://dltj.org/article/minutes-of-the-jpeg2000-interest-group-posted/#comments</comments> <pubDate>Sat, 23 Jun 2007 18:56:16 +0000</pubDate> <dc:creator>Peter Murray</dc:creator> <category><![CDATA[JPEG2000]]></category> <category><![CDATA[ALA Annual Conference 2007]]></category> <category><![CDATA[conference]]></category> <category><![CDATA[j2karclib]]></category> <category><![CDATA[jpeg2000]]></category> <category><![CDATA[Library and Information Technology Association]]></category><guid isPermaLink="false">http://dltj.org/2007/06/minutes-of-the-jpeg2000-interest-group-posted/</guid> <description><![CDATA[Minutes of the JPEG2000 Interest Group have been posted to the j2kArcLib.info website. Comments there are restricted to registered users of the site (although registration is freely available), so feel free to post comments here.The text was modified to remove &#8230; <a href="http://dltj.org/article/minutes-of-the-jpeg2000-interest-group-posted/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<abbr class="unapi-id ignore noPrint" title="http://dltj.org/2007/06/minutes-of-the-jpeg2000-interest-group-posted/"></abbr><p><span class="removed_link" title="http://j2karclib.info/node/113">Minutes of the JPEG2000 Interest Group</span> have been posted to the <span class="removed_link" title="http://j2karclib.info/j2kIG">j2kArcLib.info website</span>.  Comments there are restricted to registered users of the site (although registration is freely available), so feel free to post comments here.<p style="padding:0;margin:0;font-style:italic;" class="removed_link">The text was modified to remove a link to http://j2karclib.info/node/113 on January 19th, 2011.</p><p style="padding:0;margin:0;font-style:italic;" class="removed_link">The text was modified to remove a link to http://j2karclib.info/j2kIG on January 19th, 2011.</p>]]></content:encoded> <wfw:commentRss>http://dltj.org/article/minutes-of-the-jpeg2000-interest-group-posted/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Meeting of the JPEG 2000 Interest Group on Jun 23rd in Washington, DC</title><link>http://dltj.org/article/j2kig-in-dc/</link> <comments>http://dltj.org/article/j2kig-in-dc/#comments</comments> <pubDate>Wed, 13 Jun 2007 19:36:20 +0000</pubDate> <dc:creator>Peter Murray</dc:creator> <category><![CDATA[JPEG2000]]></category> <category><![CDATA[Meeting]]></category> <category><![CDATA[ALA Annual Conference 2007]]></category> <category><![CDATA[imaging]]></category> <category><![CDATA[j2karclib]]></category> <category><![CDATA[jpeg2000]]></category> <category><![CDATA[Library and Information Technology Association]]></category><guid isPermaLink="false">http://dltj.org/2007/06/meeting-of-the-jpeg-2000-interest-group-on-jun-23rd-in-washington-dc/</guid> <description><![CDATA[There will be a meeting of the LITA JPEG 2000 Interest Group during the annual conference of the American Library Association in Washington, DC, from June 23th from 10:30am to noon. The meeting will be held in the Congressional room &#8230; <a href="http://dltj.org/article/j2kig-in-dc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<abbr class="unapi-id ignore noPrint" title="http://dltj.org/2007/06/meeting-of-the-jpeg-2000-interest-group-on-jun-23rd-in-washington-dc/"></abbr><div class="vevent" id="hcalendar-JPEG-2000-Interest-Group-Meeting" style="display:inline">There will be a meeting of the <a href="http://www.lita.org/" title="ALA/LITA Home page">LITA</a> <span class="removed_link" title="http://j2karclib.info/j2kig"><span class="summary">JPEG 2000 Interest Group</span></span> during the <a href="http://www.ala.org/annual" title="ALA Annual Conference 2007 homepage">annual conference of the American Library Association</a> in Washington, DC, from <abbr class="dtstart" title="20070623T1030-0400">June 23th from 10:30am</abbr> to <abbr class="dtend" title="20070623T1200-0400">noon</abbr>.  The meeting will be held in the <span class="location">Congressional room in the <a href="http://doubletree.hilton.com/en/dt/hotels/index.jhtml?ctyhocn=WASDTDT" title="Website for Doubletree hotel near the convention center in Washington DC">Doubletree Washington hotel</a></span>.</div><p> At the meeting we will be sharing observations and experiences with JPEG 2000 for access and preservation of still and moving pictures as well as discussing ideas for  advocacy and spreading information.  Membership in LITA is not required to attend the meeting.  Get <a href="http://suda.co.uk/projects/microformats/hcalendar/get-cal.php?uri=http://http://dltj.org/2007/06/j2kig-in-dc/" title="iCal file">this meeting as an iCal file</a> suitable for importing into most calendar programs.<br /></p><div class="geo"><img src="http://cdn.dltj.org/wp-content/uploads/2007/06/geo.png" width="80" height="15" alt="Geo microformat" /><span class="latitude">38.9077&deg;</span> by <span class="longitude">-77.0353&deg;</span></div><p style="padding:0;margin:0;font-style:italic;" class="removed_link">The text was modified to remove a link to http://j2karclib.info/j2kig on January 19th, 2011.</p>]]></content:encoded> <wfw:commentRss>http://dltj.org/article/j2kig-in-dc/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>GSoC:  JPEG2000 JPIP Server and Viewer Applet</title><link>http://dltj.org/article/gsoc-jpip/</link> <comments>http://dltj.org/article/gsoc-jpip/#comments</comments> <pubDate>Tue, 03 Oct 2006 15:41:48 +0000</pubDate> <dc:creator>Peter Murray</dc:creator> <category><![CDATA[Fedora]]></category> <category><![CDATA[Google Summer of Code]]></category> <category><![CDATA[JPEG2000]]></category> <category><![CDATA[Raw Technology]]></category> <category><![CDATA[digital libraries]]></category> <category><![CDATA[j2karclib]]></category> <category><![CDATA[jpeg2000]]></category> <category><![CDATA[jpip]]></category> <category><![CDATA[Kakadu Software]]></category><guid isPermaLink="false">http://dltj.org/2006/10/gsoc-jpip/</guid> <description><![CDATA[OhioLINK was excited and privileged to participate in the second annual Google Summer of Code &#8212; a program to inspire young developers and provide students in Computer Science and related fields the opportunity to do work related to their academic &#8230; <a href="http://dltj.org/article/gsoc-jpip/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<abbr class="unapi-id ignore noPrint" title="http://dltj.org/2006/10/gsoc-jpip/"></abbr><p>OhioLINK was excited and privileged to participate in the second annual <a href="http://code.google.com/soc/" title="Google Summer of Code homepage">Google Summer of Code</a> &#8212; a program to inspire young developers and provide students in Computer Science and related fields the opportunity to do work related to their academic pursuits during the summer, and to support existing open source projects and organizations.  This is the first of three posts summarizing the efforts of three students; this one details the work of <strong>Juan Pablo Garcia Ortiz</strong>, a Ph.D. candidate at the University of Almeria in Spain, to build a <strong>JPEG2000 JPIP Streaming Server and Client Browser Viewer Applet</strong>.  This is an edited version of his final report.</p><p>The final applications are the &#8216;<span class="removed_link" title="http://drc-dev.ohiolink.edu/browser/jpip_server/">jpip_server</span>&#8216; and the &#8216;<span class="removed_link" title="http://drc-dev.ohiolink.edu/browser/J2KViewer/">J2KViewer</span>&#8216; &mdash; both of which can be found in the <a href="https://drc-dev.ohiolink.edu/svn/" title="OhioLINK DRC Subversion Repository URI">OhioLINK subversion repository</a>.  Please note that both are built atop the <a href="http://www.kakadusoftware.com/" title="Kakadu Softwarehomepage">Kakadu JPEG2000 code library</a>, only a portion of which is included in the OhioLINK subversion repository. <sup><a href="http://dltj.org/article/gsoc-jpip/#footnote_0_129" id="identifier_0_129" class="footnote-link footnote-identifier-link" title="Editorial comment:  although not released with an open source license, the Kakadu JPEG2000 code library is available at a very reasonable cost.  Juan Pablo&amp;#8217;s efforts initially started with one of the open source JPEG2000 libraries, but it was quickly determined that the Kakadu library was required to meet the demands of the project proposal.">1</a></sup></p><p><h2>JPIP Streaming Server</h2><br />The JPIP Streaming Sever was not the primary focus of Juan Pablo&#8217;s efforts, but it was required in order to achieve the primary objective.  It is a very simple implementation, supporting only HTTP channels with JPP streams.   The server is multi-threaded and supports channel reconnection. Only a reduced set of JPIP parameters are supported &mdash; the ones necessary for the implementation of the Java JPIP client.  (In Juan Pablo&#8217;s opinion, the simple image browser client he was developing did not require additional functionality at the server end.)</p><p>The multi-threaded mechanism is implemented with the Linux &#8216;pthread&#8217; library and uses one thread for each client socket.  The source code is written in C++, using the STL library to simplify the code, making it more legible, and orienting it to the object oriented programming philisophy.  The different modules of the program are:</p><ul><li><strong>report.cpp</strong> (report.h): For the class &#8216;report&#8217;, used to generate the applications logs.</li><li><strong>sock.cpp</strong> (sock.h): For the class &#8216;sock&#8217;, used to simplify the sockets work in Linux.</li><li><strong>j2k.cpp</strong> (j2k.h): Contains the class &#8216;j2k_image_file&#8217;, used to abstract the work with J2K images. It also contains the necessary code to initialize the Kakadu message handling system.</li><li><strong>jpip.cpp</strong> (jpip.h): Contains several classes to support a basic version of the JPIP protocol, over the Kakadu library.</li><li><strong>jpip_server.cpp</strong>: The main module.</li></ul><p>It is recommended to start from a freshly unpacked (but not yet build) version of the Kakadu library source code (version 5.1).  To build this JPIP, follow these steps:</p><ol><li>At the top level of the Kakadu source directory, checkout the &#8216;jpip_server&#8217; directory from the OhioLINK Subversion respository.  The Subversion URI is https://drc-dev.ohiolink.edu/svn/jpip_server/</li><li>Change the current directory into &#8216;jpip_server&#8217; and call the script &#8216;<span class="removed_link" title="http://drc-dev.ohiolink.edu/browser/jpip_server/kakadu_rebuild">kakadu_rebuild</span>&#8216;. The script will create the Kakadu directory structure, apply some necessary patches, and build the Kakadu libraries.  Please note that this script was written for Kakadu version 5.1 and the patches may not be required in subsequent versions.</li><li>Run &#8216;make&#8217; (inside the jpip_server directory)</li></ol><p>The accepted parameters by the server can be seen executing &#8216;jpip_server -u&#8217;. The images served by the server must be, by default, in the same directory. The command line option &#8216;-ipath&#8217; allows you to define a base path for all the requested images.  This server can be tested with the &#8216;kdu_show&#8217; application of the Kakadu package.  (kdu_show is a Windows application, but can be executed in Linux with WINE without problems.)</p><p><h2>JPIP Browser Applet</h2><br />The second application is a JPIP Java viewer, implemented as an applet.  It requires the Kakadu JNI library; the portions of the Kakadu JNI library for Windows and Linux required to implement the JPIP applet are included in the source code repository.  To build the JPIP Java viewer, follow these steps:</p><ol><li>Checkout of the &#8216;J2KViewer&#8217; directory from the OhioLINK Subversion respository.  The Subversion URI is https://drc-dev.ohiolink.edu/svn/J2KViewer/.</li><li>From within the J2KViewer directory, run &#8216;make&#8217;.</li></ol><p>The build process creates a JAR file containing the viewer applet. It&#8217;s correct use would be to sign it with a official signature and include it into the appropriate Web page as an applet. The applet accepts the following parameters:</p><ul><li>&#8220;<strong>Image</strong>&#8220;: required, specifies the JPEG2000 image to view. If it&#8217;s a local image (not typical), this would be a path name (for example &#8216;<code>/home/jportiz/image.jp2</code>&#8216;). If it&#8217;s a remote image (the typical usage) through the JPIP server, it would be a JPIP URI (for example, &#8216;<code>jpip://server:9000/image.jp2</code>&#8216;). Do not include any JPIP parameters in this URI.</li><li>&#8220;<strong>MiniViewWidth</strong>&#8220;: optional, specifies the width, in pixels, of the mini-view.</li><li>&#8220;<strong>MiniViewHeight</strong>&#8220;: optional, specifies the height, in pixels, of the mini-view. The final mini-view size will be the maximum multiple by 2 size of the image that can be included within the specified mini-view size. By default, the mini-view size is 250&#215;250.</li></ul><p>To be able to test easily the applet, you can run &#8216;<code>make test</code>&#8216; to create a &#8216;test.html&#8217; file and a &#8216;test&#8217; script. This script launches the applet viewer with the &#8216;test.html&#8217; page. It is necessary to modify the &#8216;Image&#8217; parameter of this HTML page to set the appropriate image location.</p><p>To test the applet within a web browser, you can run &#8216;<code>make test-signed</code>&#8216; to create a signed JAR file, then open &#8216;test-signed.html&#8217; with a Java compatible browser.  Before opening the HTML page,  it is necessary to modify the &#8216;Image&#8217; parameter within the page to set the appropriate image location.</p><p>The viewer has a simple UI. It has a toolbar with two buttons, one to select the interaction mode (zoom or pan) and another one to show the mini-view window. There is a status bar where is showed the real image<br />size and the current scale, and in the right side, the current number of bytes read. In the center panel is the image &mdash; initially scaled by 2 fo fit it in the applet size. This behaviour can be modified easily in the code.</p><p>The mini-view window can be moved to any part of the main window. If it&#8217;s closed, it can be showed again with the associated button of the toolbar.  The mini-view contains a red rectangle outlining the actual view of the main window. This red rectangle can be moved by dragging it and the corresponding view in the main window will be updated.</p><p>The applet requires that the Kakadu JNI library is stored in the user home directory (&#8216;C:\Document And Settings\User&#8217; in Windows and &#8216;/home/user&#8217; in Linux). The applet detects if this library exists and if it is not found the applet allows it to be download automatically from the OhioLINK repository and stored it in the user home directory.</p><p>This is a brief description of the implemented classes:</p><ul><li><strong>ChunkedInputStream</strong>: An InputStream derived class to decode HTTP chunked messages.</li><li><strong>HTTPMessage</strong>: The base class of all the HTTP message classes.</li><li><strong>HTTPRequest</strong>: Identifies a HTTP request.</li><li><strong>HTTPResponse</strong>: Identifies a HTTP response.</li><li><strong>HTTPSocket</strong>: Derives from Socket and allows HTTP messages to be sent and received in an easy way. In only supports send HTTP requests and receive HTTP responses (a client socket).</li><li><strong>ImagePanel</strong>: A GUI panel that can be included in any image browser.  This panel has the necessary methods to load images and control its visualization. It supports the display of a mini-view of the image. All of the image navigation is controlled directly within this panel.</li><li><strong>ImageWindow</strong>: An interface to implement all the parent windows that include an ImagePanel obejct.</li><li><strong>J2KCache</strong>: A wrapper class for the Kdu_cache Kakadu class. This encapsulation allows another J2K engine to be used while avoiding the need to modify the design and code of the applet.</li><li><strong>J2KEngine</strong>: Contains all the necessary code to initialize the J2K engine.  In our case,	the Kakadu J2K engine.</li><li><strong>J2KException</strong>: A Exception derived class to identify the exceptions generated by the J2K code.</li><li><strong>J2KImage</strong>: This class contains all the necessary code to work with J2K images, local files as well as remote URIs. If the image is local, the Kakadu library	functions are used to open it. If the image is remote, a J2KReader object is used to retreive the content.</li><li><strong>J2KImageView</strong>: Defines an image view, renderable on the screen. This image view is defined by its coordenates, size and resolution level.</li><li><strong>J2KReader</strong>: An implementation of a basic JPIP client to read the necessary data of a specific image view.</li><li><strong>J2KRender</strong>: Implements the rendering thread of the image browser. This thread is always generating the current image view. It stops when this view is rendered and the image content is completed (if the image is remote, this means that all of the required image codestream blocks have been received).</li><li><strong>J2KViewer</strong>: The main class of the application.</li><li><strong>JpipConstants</strong>: Defines several global constants related to the JPIP protocol.</li><li><strong>JpipDataInputStream</strong>: An InputStream-derived class to extract JPIP data segments from an	input.</li><li><strong>JpipDataSegment</strong>: Contains the information of a JPIP data segment, which can be either an EOR message or a data-bin segment.</li><li><strong>Mutex</strong>: A simple mutex implementation in Java, used to avoid threads conflicts when accessing to the image data.</li><li><strong>StringInputStream</strong>: An InputStream-derived class to extract strings from inputs without buffering. Useful to decode HTTP headers and chunks lengths.</li></ul><p>The viewer follows the JPIP philosophy in the code structure, especially with remote images.  That is, when it is displaying a remote image, there are three threads running in parallel: one for the main GUI, a second for the JPIP comunication that is making the requests and filling the cache with the received data, and a third to render the cache content on the user&#8217;s display.</p><p>The Java JPIP viewer has been tested in Windows and in Linux. In Windows it has been used the Sun JVM/JRE 1.5 without problems. However, in Linux, this JVM/JRE version seems quite unstable, requiring the previous version, 1.4.2.  In Linux the Blackdown JVM 1.4.2 as well as the Sun JVM 1.4.2 have been tested with succesful results.</p><p><h2>Future Development Goals</h2><br />The most important feature to include, in Juan Pablo&#8217;s opinion as well as my own, is to make the client applet independent of the Kakadu library; that is, to use an open source J2K engine.  Juan Pablo is currently collaborating a bit with the <a href="http://en.wikipedia.org/wiki/HiRISE" title="">HiRISE project</a> in order to implement a pure Java JPIP code.  It needs to use an efficient pure Java J2K engine. They are currently modifing the JJ2000 code in order to improve it and adapt it within the JPIP client. When this goal was reached, it should be included into the current J2KViewer implementation.</p><p>Another feature that was part of the original design but was not completed due to time pressures was to integrate the JPIP server and client into the <a href="http://www.fedora.info/" title="FEDORA digital object repository homepage">FEDORA digital object repository</a> system.  There is also room for a lot of more features: support of the HTTP-TCPtransport protocol, allow for the display of the image metadata, more GUI utilities like the ability to save the image as a local file for image processing, increase the set of supported JPIP parameters, etc.</p><p><h2>Gratitude and Acknowledgements</h2><br />OhioLINK offers its congratulations to Juan Pablo for successfully completing the Google Summer of Code project and we look forward to working with him to continue the development effort.  We anticipate integrating his work into the <a href="http://info.drc.ohiolink.edu/" title="Ohio Digital Resource Commons homepage | Save, Discover, and Share Your Resources and the Resources of the World">Ohio Digital Resource Commons Project</a> in the coming year.  We also offer our gratitude to Google for not only their financial support of the Summer of Code program but also for the efforts of Chris, Greg, Leslie and countless other Google staff members in supporting the logistics of this world-wide effort.  I would also like to thank Ron Murray and others at the Preservation Reformatting Division of the Library of Congress for helping think through the requirements and their general support for the effort to bring JPEG2000 to the world of archives and libraries.<p style="padding:0;margin:0;font-style:italic;" class="removed_link">The text was modified to remove a link to http://drc-dev.ohiolink.edu/browser/jpip_server/ on January 13th, 2011.</p><p style="padding:0;margin:0;font-style:italic;" class="removed_link">The text was modified to remove a link to http://drc-dev.ohiolink.edu/browser/J2KViewer/ on January 13th, 2011.</p><p style="padding:0;margin:0;font-style:italic;" class="removed_link">The text was modified to remove a link to http://drc-dev.ohiolink.edu/browser/jpip_server/kakadu_rebuild on January 13th, 2011.</p><h2>Footnotes</h2><ol class="footnotes"><li id="footnote_0_129" class="footnote">Editorial comment:  although not released with an open source license, the Kakadu JPEG2000 code library is available at a very reasonable cost.  Juan Pablo&#8217;s efforts initially started with one of the open source JPEG2000 libraries, but it was quickly determined that the Kakadu library was required to meet the demands of the project proposal.</li></ol><div class='series_links'></div>]]></content:encoded> <wfw:commentRss>http://dltj.org/article/gsoc-jpip/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> </channel> </rss>
<!-- Served from: dltj.org @ 2012-02-11 11:33:46 by W3 Total Cache -->
