IIIF, JPEG2000 No Comments

IIPImage has teamed up with Klokan Technologies to make the adoption of IIIF (the International Image Interoperability Framework) and JPEG2000 faster and easier for institutions seeking to implement the IIIF standard.

IIIFServer is a high performance IIIF 2.1 image server that has been optimized for fast efficient use with IIIF and JPEG2000. The server is based on IIPImage and includes licensing for the proprietary Kakadu codec, which provides the fastest JPEG2000 decoding speed currently available.

IIIFServer is available as fully tested, ready-to-install binary packages for both Windows and Linux and is available for both non-profit and commercial use.

Binary packages exist for 64 bit Windows as well as Debian, Ubuntu, Fedora and Redhat. In addition, IIIFServer can be installed through a Docker container. To download the packages, see the IIIFServer download page.

These binaries provide demo functionality by default and it is possible to purchase non-profit, single server commercial or multi-server commercial licensing. Pricing and online purchase is available directly from the IIIFServer website.

The OpenLayers v3 based IIIFViewer is also available, which is optimized for mobile use and uses WebGL hardware accelerated rendering, providing a fast powerful front-end to IIIFServer.



iipsrv 1.0

IIIF, JPEG2000, Mac OS X, New Release, Optimization, Protocol, Server No Comments

Version 1.0 of iipsrv, the IIPImage server, is now officially released! This is a major new version containing a whole host of new features, major performance enhancements, optimizations, numerous bug-fixes and stability enhancements. Major new features include support for the IIIF protocol, 32 bit floating point data support and several new image processing commands.

New features include:

Read the rest…

Current Trends and Future Directions for Digital Imaging in Libraries and Archives

JPEG2000, Server No Comments

Current Trends and Future Directions for Digital Imaging in Libraries and Archives was a one-day workshop on JPEG2000 organized by the Wellcome Library and the Digital Preservation Coalition (DPC). The event took place on the 10th November 2014 at the Wellcome Trust in London and brought together a range of specialist practitioners with experience of JP2K for digital libraries and digital archives.

IIPImage presentation at the Wellcome Trust

The workshop examined current and emerging practice with JPEG2000 and sought to enable a debate about future directions for the format.  There were a number of case studies and presentations of tools and JP2K workflows with consideration given to how these developments can inform and extend preservation practice for image archives, digital photography and digitization.

The programme included talks from the Wellcome Library itself, Oxford University’s Bodleian library, the National Library of the Netherlands and the British Library. And the results of a JPEG2000 use survey in the cultural heritage sector.

In addition, there were presentations on tools including the JPEG2000 validation tool jpylyzer, the Goobi library workflow system and a presentation on the status of OpenJPEG, the principal open source JPEG2000 implementation today. And, of course, there was a presentation on IIPImage.

The IIPImage server has had support for JPEG2000 since version 0.9.9 of the server and it is already used for JPEG2000 by a number of major libraries including the Wellcome Library, Oxford University’s Bodleian Library, the French National Library (the BNF) and several university research libraries. The IIPImage talk was entitled IIPImage and a Performance Analysis of JPEG2000 Encoding Parameters, which looked at IIPImage itself, case studies of IIPImage use and some live demos showing some advanced uses of IIPImage. The presentation also looked at how to optimize JPEG2000 encoding parameters, showing the results of a preliminary study on how code block, precinct and tile size affect the resulting JPEG2000 file size, the encoding time and crucially, the time to decode a region, which is a key criteria for image servers such as IIPImage. A more detailed look at these results will be the subject of a future post.

The programme of the event and the various presentations are available from the Digital Preservation Coalition page for the event and the IIPImage presentation is available below:

Open Access with IIPImage at Ghent University Library

Case Study, IIPMooViewer, JPEG2000, Server No Comments

The Book Tower, Ghent University Library

Guest Post by Nicolas Franck, Ghent University Library

Ghent University Library (Belgium) – better known as the “Book Tower” – started digitizing its collections back in 2004. It has a wide variety of material, ranging from books, manuscripts, papyri, posters, coins to drawings and old maps. From the beginning, the main purpose was to provide its audience – mainly researchers and students – open access to its digital content online.

A website was created with a search interface, and a commercial viewer (EREZ viewer) to view the digital images online at http://adore.ugent.be

But in 2010 we decided to create a new website with more possibilities, and to use an open source software to view our images online. We needed software that was fast, reliable, open source and that used the new possibilities of HTML5.

That is where IIPImage came in. The IIPMooviewer client was slightly adapted to our needs with, for example, the addition of a zoom level indicator.

Some of the resources consists of more than one image, such as scans belonging to a book. So we created a carousel, that wraps IIPMooviewer within an iframe. See this example showing Liber Floridus a rare 12th century medieval encyclopaedia of Flanders: http://adore.ugent.be/OpenURL/app?id=archive.ugent.be:018970A2-B1E8-11DF-A2E0-A70579F64438&type=carousel&scrollto=60:

Liber Floridus – book page carousel wrapping iipmooviewer

The raw images are first converted to 8 bit sRGB using PerlMagick before conversion to JPEG2000 format with Kakadu using the following parameters:

kdu_compress -i input.tif -o output.jp2 -quiet -rate 24 Clayers=8 Clevels=8
    Cprecincts="{256,256},{256,256},{128,128}" Corder=RPCL ORGgen_plt=yes
    ORGtparts=R Cblk="{64,64}" Cuse_sop=yes -no_palette -num_threads 4

Trajan’s Column

This results in a maximum of 8 resolution levels and 8 quality layers with a precinct size of 256×256 pixels. They are stored with lossy compression to reduce the file size, but with a high encoding rate of 24 bits per pixel.

The largest image is this 1774 etching of Trajan’s column by the Italian artist Giovanni Battista Piranesi (1720-1778). The scan is 832 megapixels in size (15261×54519 pixels). The compressed JPEG2000 file itself is about 400MB in size, while the uncompressed image was 2GB in size.

Interactive viewer: http://adore.ugent.be/OpenURL/resolve?rft_id=archive.ugent.be:EBFE8CFC-AC6F-11E1-81A7-AD7FAAF23FF7:1&svc_id=zoomer&url_ver=Z39.88-2004

JPEG2000 file download: http://adore.ugent.be/OpenURL/resolve?rft_id=archive.ugent.be:EBFE8CFC-AC6F-11E1-81A7-AD7FAAF23FF7:1&svc_id=original&url_ver=Z39.88-2004

We use Red Hat Enterprise Linux Server release 6.2 with Nginx as the web server. The iipsrv process is started via an init-script using spawn-fcgi:

export VERBOSITY="1"
export FILENAME_PATTERN="_pyr_"
export JPEG_QUALITY="100"
export MAX_CVT="300"
spawn-fcgi -f /path/to/iipsrv.fcgi -U iipsrv -u iipsrv
                          -s /var/run/iipsrv.socket -n

As you can see, a Unix socket is created and Nginx uses its fastcgi-module to proxy all requests to /iip to this socket. Although the IIPImage server has it own methods of caching its results, we decided to let Nginx cache the results itself, to lower the number of requests to the backend server.The IIPImage-server can be reached through this proxy at http://adore.ugent.be/iip.

by Nicolas Franck, Ghent University Library

iipsrv now on Github

JPEG2000, New Release, Server No Comments

The latest development code for iipsrv, the IIPImage server is now hosted on Github. This should make things far easier for developers to share code and to submit patches. You can check out the repository here https://github.com/ruven/iipsrv

The latest code has a host of new features including:

  • Exact export resizing for both TIFF and JPEG2000
  • Improved interpolation algorithms for CVT export
  • Extended support for 1, 8, 16 and 32 bit images
  • Gamma support
  • Improved metadata handling
  • Performance improvements
  • Improved Windows compatibility
  • Bug fixes!

So, check it out and get forking!

« Previous Entries

Flattr this

Donations appreciated Bookmark and Share
Get IIPImage at SourceForge.net. Fast, secure and Free Open Source software downloads