11# iipsrv
22
33A single-container deployment of [ IIPImage] ( https://iipimage.sourceforge.io ) ,
4- running on [ nginx] ( http://nginx.org/en/ ) with FastCGI.
5-
6- (Forked from [ iiip-nginx-single] ( https://git.lib.berkeley.edu/lap/iiip-nginx-single ) .)
4+ running on lighttpd. This is based on the upstream ` iipsrv/iipsrv `
5+ base image, except with updated packages.
76
87## Configuration
98
@@ -41,7 +40,7 @@ Note that nginx/IIPImage runs on port 80, and is exposed on host port 80.
4140By default, the [ ` iipsrv-entrypoint.sh ` ] ( iipsrv-entrypoint.sh ) script will
4241cause files to be served from the ` test/data ` directory.
4342
44- You can override this mount by passing a ` $FILESYSTEM ` value to
43+ You can override this mount by passing a ` $FILESYSTEM_PREFIX ` value to
4544the container; see below under [ "Custom configuration"] ( #custom-configuration ) .
4645
4746#### Testing
@@ -53,13 +52,12 @@ To test that the container has come up correctly, using the image file
5352curl -v ' http://localhost/iiif/test.tif/info.json'
5453```
5554
56- This should produce a IIIF [ information response] ( https://iiif.io/api/image/2 .0/#information-request )
55+ This should produce a IIIF [ information response] ( https://iiif.io/api/image/3 .0/#51-image- information-request )
5756in JSON format, e.g.:
5857
5958``` json
6059{
61- "@context" : " http://iiif.io/api/image/2/context.json" ,
62- "@id" : " http://localhost/iiif/test.tif" ,
60+ "@context" : " http://iiif.io/api/image/3/context.json" ,
6361 "protocol" : " http://iiif.io/api/image" ,
6462 "width" : 2769 ,
6563 "height" : 3855 ,
@@ -72,15 +70,23 @@ in JSON format, e.g.:
7270 "tiles" : [
7371 { "width" : 256 , "height" : 256 , "scaleFactors" : [ 1 , 2 , 4 , 8 , 16 ] }
7472 ],
75- "profile" : [
76- " http://iiif.io/api/image/2/level1.json" ,
77- { "formats" : [ " jpg" ],
78- "qualities" : [ " native" ," color" ," gray" ," bitonal" ],
79- "supports" : [" regionByPct" ," regionSquare" ," sizeByForcedWh" ," sizeByWh" ," sizeAboveFull" ," rotationBy90s" ," mirroring" ],
80- "maxWidth" : 5000 ,
81- "maxHeight" : 5000
82- }
73+ "id" : " http://localhost/iiif/test.tif" ,
74+ "type" : " ImageService3" ,
75+ "profile" : " level2" ,
76+ "maxWidth" : 5000 ,
77+ "maxHeight" : 5000 ,
78+ "extraQualities" : [" color" ," gray" ," bitonal" ],
79+ "extraFormats" : [" tif" ," webp" ," avif" ],
80+ "extraFeatures" : [" regionByPct" ," sizeByPct" ," sizeByConfinedWh" ," sizeUpscaling" ," rotationBy90s" ," mirroring" ],
81+ "service" : [
82+ {
83+ "@context" : " http://iiif.io/api/annex/services/physdim/1/context.json" ,
84+ "profile" : " http://iiif.io/api/annex/services/physdim" ,
85+ "physicalScale" : 0.00846667 ,
86+ "physicalUnits" : " cm"
87+ }
8388 ]
89+
8490}
8591```
8692
0 commit comments