Loris IIIF Image Server
Python Shell
Latest commit b00810c Jan 18, 2017 @bcail bcail committed with jpstroop Http resolver (#274)
* set stream=True for downloads of source images in SimpleHTTPResolver

* remove with closing() on a head request, add it on the streaming request for retrieving a source image

README.md

loris icon Loris IIIF Image Server

Loris is an implementation of the IIIF Image API 2.0.

  • If you're looking for IIIF 1.1 support, please use the last release in the 1.x series.
  • If you're looking for IIIF 1.0 support, this release is the closest Loris ever was, but there are known flaws, deployment is tough, and it is certainly not supported at this point.

Build Status

Demos

Installation Instructions

Loris is only supported on Python 2.7.x. If you need to use Python 2.6, Loris v2.1.0 is the last version to support it.

These instructions are known to work on Ubuntu 12.04 or greater and Python 2.7.x (but not 3.x). See below for some help with RedHat/CentOS and Debian.

Do Not! Run setup.py until you've read the following:

You're best off working through these steps in order.

RedHat, Debian and Troubleshooting

@mmcclimon has provided some excellent instructions for deploying Loris on RedHat 6 or the equivalent CentOS.

If you're running Debian and/or run into any pitfalls with the steps above, Regis Robineau of the Biblissima Project has created an excellent set of instructions that may help.

As always, clarifications, notes (issues, pull requests) regarding experiences on different platforms are most welcome.

IIIF 2.0 Compliance

Loris Implements all of the IIIF Image API level 2 features, plus nearly all of the "optional" features:

  • sizeAboveFull
  • rotationArbitrary
  • mirroring
  • profileLinkHeader
  • webp and gif formats

Validation: http://goo.gl/P1KBkU

See http://iiif.io/api/image/2.0/compliance.html for details.

License (New BSD)

Copyright (c) 2013-2015, Jon Stroop All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name "Loris" nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Kakadu

Downloadable Executables Copyright and Disclaimer

The executables available here are made available for demonstration purposes only. Neither the author, Dr. Taubman, nor the University of New South Wales accept any liability arising from their use or re-distribution.

Copyright is owned by NewSouth Innovations Pty Limited, commercial arm of the University of New South Wales, Sydney, Australia. You are free to trial these executables and even to re-distribute them, so long as such use or re-distribution is accompanied with this copyright notice and is not for commercial gain. Note: Binaries can only be used for non-commercial purposes. If in doubt please contact Dr. Taubman.

For further details, please visit the Kakadu website