Server Breakouts
Implementations
Yale: IIIP MooViewer shim that sits along side Djatoka. level1 compliant with some level2. Limited in terms of errors it can report. BL: (3 servers)
- IIS, C#, invoking Kakadu binary OSS
- Same as above, compiled w/ KDU
{ | |
"@context": { | |
"@vocab": "http://iiif.io/api/image#", | |
"xsd" :" http://www.w3.org/2001/XMLSchema#" | |
}, | |
"@id": "http://libimages.princeton.edu/loris", | |
"supportsRegionByPct": { | |
"@value": "true", | |
"@type": "xsd:boolean" | |
}, |
@prefix : <http://iiif.io/api/image-api#> . | |
@prefix ns1: <http://purl.org/dc/terms/> . | |
@prefix ns2: <http://libimages.princeton.edu/loris#> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix xml: <http://www.w3.org/XML/1998/namespace> . | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
<http://libimages.princeton.edu/loris> :contact "mailto:azaroth42@gmail.com" ; | |
:extensions [ :feature "http://libimages.princeton.edu/loris#myNextCoolFeature" ; |
require 'linkeddata' | |
require 'rdf/cli/vocab-loader' | |
vocab_sources = { | |
lifecycle: { | |
prefix: "http://purl.org/vocab/lifecycle/schema#", | |
source: "http://vocab.org/lifecycle/schema-20080603.rdf", | |
strict: true | |
} | |
} |
Yale: IIIP MooViewer shim that sits along side Djatoka. level1 compliant with some level2. Limited in terms of errors it can report. BL: (3 servers)
{ | |
"@context": "http://iiif.io/image-api/1.1/context.json", | |
"@id": "http://libimages.princeton.edu/loris/pudl0052%2F6131707%2F00000001.jp2", | |
"profile": "http://iiif.io/image/1.2/levels/2.json", //local or iiif.io profile | |
"capabilities": "http://libimages.princeton.edu/loris/capabilities.json", //local or iiif.io profile | |
"formats": [ "jpg", "png", "tif", "gif" ], | |
"width": 122877, | |
"height": 3783, | |
"login": "http://libimages.princeton.edu/loris/login", // Exclusive w/ | |
"logout": "http://libimages.princeton.edu/loris/logout", // this. Both optional. Logout required if logged in. |
{ | |
"@context" : [ | |
"http://iiif.io/api/image-api/context.json", | |
{ | |
"ext" : "http://www.shared-canvas.org/iiif/ext/", | |
"ext:watermarking" : {"@type" : "xsd:boolean"} | |
} | |
], | |
"@id" : "http://libimages.princeton.edu/loris", | |
"contact" : "mailto:admin@example.com", |
// Command: dot -Tpng -o review.png review.dot | |
digraph G { | |
pad=".5"; | |
label="\n\nReview / Work / Magazine Relationship Graph"; | |
labelloc=bottom; | |
labeljust=left; | |
rankdir=LR | |
size="9"; // inches for the long side | |
fontpath="/usr/share/fonts"; | |
graph [fontname="Monospace"]; |
{ | |
"@context" : [ | |
"http://iiif.io/api/image-api/context.json", | |
{ | |
"ab" : "http://penibelst.de/", | |
"ab:gravity" : {"@type" : "xsd:boolean"} | |
} | |
], | |
"@id" : "http://libimages.princeton.edu/loris", | |
"contact" : "mailto:admin@example.com", |
from PIL import Image | |
from PIL.ImageFile import Parser | |
from os import makedirs, path, unlink | |
import subprocess | |
import sys | |
KDU_EXPAND='/usr/local/bin/kdu_expand' | |
LIB_KDU='/usr/local/lib/libkdu_v72R.so' | |
TMP='/tmp' | |
INPUT_JP2='/home/jstroop/workspace/loris/tests/img/01/02/0001.jp2' |
# Specifies a set of ResourceSync Sources | |
# Entire file could also be used to build the Capability List document | |
# E.g. engine at /rs/{service_id} | |
service_id: | |
- model: MyModel | |
datastreams: | |
- descMetadata | |
- model: MyOtherModel |