Skip to content

Instantly share code, notes, and snippets.

@zimeon
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zimeon/d97bc554ead393b7588d to your computer and use it in GitHub Desktop.
Save zimeon/d97bc554ead393b7588d to your computer and use it in GitHub Desktop.
Test of iiif static files with previously problematic image

See zimeon/iiif#4

Image now at https://raw.githubusercontent.com/edsu/mirador-test/gh-pages/001.jpg , grabbed:

simeon@RottenApple iiif>wget https://raw.githubusercontent.com/edsu/mirador-test/gh-pages/001.jpg
--2015-07-23 17:30:45--  https://raw.githubusercontent.com/edsu/mirador-test/gh-pages/001.jpg
Resolving raw.githubusercontent.com... 23.235.39.133
Connecting to raw.githubusercontent.com|23.235.39.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3589041 (3.4M) [image/jpeg]
Saving to: '001.jpg'

001.jpg                              100%[======================================================================>]   3.42M  5.67MB/s   in 0.6s   

2015-07-23 17:30:47 (5.67 MB/s) - '001.jpg' saved [3589041/3589041]

Then generate IIIF static files and HTML page with OSD, code is commit https://github.com/zimeon/iiif/tree/42a146c51781372735fc58c0c6ca14947c8e9827:

simeon@RottenApple iiif>./iiif_static.py -d /tmp/001 --write-html /tmp/001 --include-osd 001.jpg
/tmp/001 / 001/0,0,512,512/512,/0/default.jpg
/tmp/001 / 001/0,512,512,512/512,/0/default.jpg
/tmp/001 / 001/0,1024,512,512/512,/0/default.jpg
/tmp/001 / 001/0,1536,512,512/512,/0/default.jpg
/tmp/001 / 001/0,2048,512,512/512,/0/default.jpg
/tmp/001 / 001/0,2560,512,512/512,/0/default.jpg
/tmp/001 / 001/0,3072,512,512/512,/0/default.jpg
/tmp/001 / 001/0,3584,512,512/512,/0/default.jpg
/tmp/001 / 001/0,4096,512,512/512,/0/default.jpg
/tmp/001 / 001/0,4608,512,509/512,/0/default.jpg
/tmp/001 / 001/512,0,512,512/512,/0/default.jpg
/tmp/001 / 001/512,512,512,512/512,/0/default.jpg
/tmp/001 / 001/512,1024,512,512/512,/0/default.jpg
/tmp/001 / 001/512,1536,512,512/512,/0/default.jpg
/tmp/001 / 001/512,2048,512,512/512,/0/default.jpg
/tmp/001 / 001/512,2560,512,512/512,/0/default.jpg
/tmp/001 / 001/512,3072,512,512/512,/0/default.jpg
/tmp/001 / 001/512,3584,512,512/512,/0/default.jpg
/tmp/001 / 001/512,4096,512,512/512,/0/default.jpg
/tmp/001 / 001/512,4608,512,509/512,/0/default.jpg
/tmp/001 / 001/1024,0,512,512/512,/0/default.jpg
/tmp/001 / 001/1024,512,512,512/512,/0/default.jpg
/tmp/001 / 001/1024,1024,512,512/512,/0/default.jpg
/tmp/001 / 001/1024,1536,512,512/512,/0/default.jpg
/tmp/001 / 001/1024,2048,512,512/512,/0/default.jpg
/tmp/001 / 001/1024,2560,512,512/512,/0/default.jpg
/tmp/001 / 001/1024,3072,512,512/512,/0/default.jpg
/tmp/001 / 001/1024,3584,512,512/512,/0/default.jpg
/tmp/001 / 001/1024,4096,512,512/512,/0/default.jpg
/tmp/001 / 001/1024,4608,512,509/512,/0/default.jpg
/tmp/001 / 001/1536,0,512,512/512,/0/default.jpg
/tmp/001 / 001/1536,512,512,512/512,/0/default.jpg
/tmp/001 / 001/1536,1024,512,512/512,/0/default.jpg
/tmp/001 / 001/1536,1536,512,512/512,/0/default.jpg
/tmp/001 / 001/1536,2048,512,512/512,/0/default.jpg
/tmp/001 / 001/1536,2560,512,512/512,/0/default.jpg
/tmp/001 / 001/1536,3072,512,512/512,/0/default.jpg
/tmp/001 / 001/1536,3584,512,512/512,/0/default.jpg
/tmp/001 / 001/1536,4096,512,512/512,/0/default.jpg
/tmp/001 / 001/1536,4608,512,509/512,/0/default.jpg
/tmp/001 / 001/2048,0,512,512/512,/0/default.jpg
/tmp/001 / 001/2048,512,512,512/512,/0/default.jpg
/tmp/001 / 001/2048,1024,512,512/512,/0/default.jpg
/tmp/001 / 001/2048,1536,512,512/512,/0/default.jpg
/tmp/001 / 001/2048,2048,512,512/512,/0/default.jpg
/tmp/001 / 001/2048,2560,512,512/512,/0/default.jpg
/tmp/001 / 001/2048,3072,512,512/512,/0/default.jpg
/tmp/001 / 001/2048,3584,512,512/512,/0/default.jpg
/tmp/001 / 001/2048,4096,512,512/512,/0/default.jpg
/tmp/001 / 001/2048,4608,512,509/512,/0/default.jpg
/tmp/001 / 001/2560,0,512,512/512,/0/default.jpg
/tmp/001 / 001/2560,512,512,512/512,/0/default.jpg
/tmp/001 / 001/2560,1024,512,512/512,/0/default.jpg
/tmp/001 / 001/2560,1536,512,512/512,/0/default.jpg
/tmp/001 / 001/2560,2048,512,512/512,/0/default.jpg
/tmp/001 / 001/2560,2560,512,512/512,/0/default.jpg
/tmp/001 / 001/2560,3072,512,512/512,/0/default.jpg
/tmp/001 / 001/2560,3584,512,512/512,/0/default.jpg
/tmp/001 / 001/2560,4096,512,512/512,/0/default.jpg
/tmp/001 / 001/2560,4608,512,509/512,/0/default.jpg
/tmp/001 / 001/3072,0,395,512/395,/0/default.jpg
/tmp/001 / 001/3072,512,395,512/395,/0/default.jpg
/tmp/001 / 001/3072,1024,395,512/395,/0/default.jpg
/tmp/001 / 001/3072,1536,395,512/395,/0/default.jpg
/tmp/001 / 001/3072,2048,395,512/395,/0/default.jpg
/tmp/001 / 001/3072,2560,395,512/395,/0/default.jpg
/tmp/001 / 001/3072,3072,395,512/395,/0/default.jpg
/tmp/001 / 001/3072,3584,395,512/395,/0/default.jpg
/tmp/001 / 001/3072,4096,395,512/395,/0/default.jpg
/tmp/001 / 001/3072,4608,395,509/395,/0/default.jpg
/tmp/001 / 001/0,0,1024,1024/512,/0/default.jpg
/tmp/001 / 001/0,1024,1024,1024/512,/0/default.jpg
/tmp/001 / 001/0,2048,1024,1024/512,/0/default.jpg
/tmp/001 / 001/0,3072,1024,1024/512,/0/default.jpg
/tmp/001 / 001/0,4096,1024,1021/512,/0/default.jpg
/tmp/001 / 001/1024,0,1024,1024/512,/0/default.jpg
/tmp/001 / 001/1024,1024,1024,1024/512,/0/default.jpg
/tmp/001 / 001/1024,2048,1024,1024/512,/0/default.jpg
/tmp/001 / 001/1024,3072,1024,1024/512,/0/default.jpg
/tmp/001 / 001/1024,4096,1024,1021/512,/0/default.jpg
/tmp/001 / 001/2048,0,1024,1024/512,/0/default.jpg
/tmp/001 / 001/2048,1024,1024,1024/512,/0/default.jpg
/tmp/001 / 001/2048,2048,1024,1024/512,/0/default.jpg
/tmp/001 / 001/2048,3072,1024,1024/512,/0/default.jpg
/tmp/001 / 001/2048,4096,1024,1021/512,/0/default.jpg
/tmp/001 / 001/3072,0,395,1024/198,/0/default.jpg
/tmp/001 / 001/3072,1024,395,1024/198,/0/default.jpg
/tmp/001 / 001/3072,2048,395,1024/198,/0/default.jpg
/tmp/001 / 001/3072,3072,395,1024/198,/0/default.jpg
/tmp/001 / 001/3072,4096,395,1021/198,/0/default.jpg
/tmp/001 / 001/0,0,2048,2048/512,/0/default.jpg
/tmp/001 / 001/0,2048,2048,2048/512,/0/default.jpg
/tmp/001 / 001/0,4096,2048,1021/512,/0/default.jpg
/tmp/001 / 001/2048,0,1419,2048/355,/0/default.jpg
/tmp/001 / 001/2048,2048,1419,2048/355,/0/default.jpg
/tmp/001 / 001/2048,4096,1419,1021/355,/0/default.jpg
/tmp/001 / 001/0,0,3467,4096/434,/0/default.jpg
/tmp/001 / 001/0,4096,3467,1021/434,/0/default.jpg
/tmp/001 / 001/full/217,/0/default.jpg
/tmp/001 / 001/full/108,/0/default.jpg
/tmp/001 / 001/full/54,/0/default.jpg
/tmp/001 / 001/full/27,/0/default.jpg
/tmp/001 / 001/full/14,/0/default.jpg
/tmp/001 / 001/full/7,/0/default.jpg
/tmp/001 / 001/full/3,/0/default.jpg
/tmp/001 / 001/full/2,/0/default.jpg
/tmp/001 / 001/full/1,/0/default.jpg

/tmp/001 / 001.html
/tmp/001 / osd/openseadragon.min.js
/tmp/001 / osd/images/*

Finally, cd into the dir with these file and run a server to make them accessible as http://localhost:8000/001.html. We see in the logs that there are no 404's except for the attempt to get the favicon. Display seems good too.

simeon@RottenApple iiif>cd /tmp/001
simeon@RottenApple 001>python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /001.html HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/openseadragon.min.js HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/zoomin_rest.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/zoomin_grouphover.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/zoomin_hover.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/zoomin_pressed.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/zoomout_rest.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/zoomout_grouphover.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/zoomout_hover.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/home_rest.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/home_pressed.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/home_hover.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/fullpage_rest.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/fullpage_hover.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/home_grouphover.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/fullpage_pressed.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/fullpage_grouphover.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /001/info.json HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] code 404, message File not found
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /favicon.ico HTTP/1.1" 404 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /osd/images/zoomout_pressed.png HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /001/full/217,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /001/0,0,3467,4096/434,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:22] "GET /001/0,4096,3467,1021/434,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:25] "GET /001/0,2048,2048,2048/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:25] "GET /001/2048,2048,1419,2048/355,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:25] "GET /001/0,0,2048,2048/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:25] "GET /001/2048,0,1419,2048/355,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:27] "GET /001/1024,2048,1024,1024/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:27] "GET /001/2048,2048,1024,1024/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:27] "GET /001/1024,1024,1024,1024/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:27] "GET /001/1024,3072,1024,1024/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:27] "GET /001/0,2048,1024,1024/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:27] "GET /001/2048,1024,1024,1024/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:27] "GET /001/2048,3072,1024,1024/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:27] "GET /001/0,1024,1024,1024/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:27] "GET /001/0,3072,1024,1024/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:29] "GET /001/1536,2048,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:29] "GET /001/1536,2560,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:29] "GET /001/1024,2048,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:29] "GET /001/1024,2560,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:29] "GET /001/2048,2048,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:29] "GET /001/2048,2560,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:33] "GET /001/2560,2560,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:33] "GET /001/2560,3072,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:33] "GET /001/2048,3072,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:42] "GET /001/3072,3072,395,1024/198,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:42] "GET /001/3072,2048,395,1024/198,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:42] "GET /001/3072,3072,395,512/395,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:42] "GET /001/3072,2560,395,512/395,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:44] "GET /001/3072,3584,395,512/395,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:44] "GET /001/2560,3584,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:46] "GET /001/2048,4096,1419,1021/355,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:46] "GET /001/2048,4096,1024,1021/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:46] "GET /001/3072,4096,395,1021/198,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:46] "GET /001/2560,4096,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:46] "GET /001/2048,3584,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:46] "GET /001/3072,4096,395,512/395,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:46] "GET /001/2048,4096,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:48] "GET /001/0,4096,2048,1021/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:48] "GET /001/1024,4096,1024,1021/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:49] "GET /001/0,4096,1024,1021/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:54] "GET /001/0,0,1024,1024/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:55] "GET /001/1024,0,1024,1024/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:57] "GET /001/2048,0,1024,1024/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:57] "GET /001/3072,0,395,1024/198,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:33:59] "GET /001/3072,1024,395,1024/198,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:04] "GET /001/2560,4608,512,509/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:04] "GET /001/2048,4608,512,509/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:04] "GET /001/3072,4608,395,509/395,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:08] "GET /001/1536,3072,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:08] "GET /001/1536,3584,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:13] "GET /001/512,2048,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:13] "GET /001/512,2560,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:13] "GET /001/0,2048,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:13] "GET /001/0,2560,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:17] "GET /001/1024,0,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:17] "GET /001/512,0,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:17] "GET /001/512,512,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:17] "GET /001/1024,512,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:18] "GET /001/1536,0,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:18] "GET /001/1536,512,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:21] "GET /001/2048,0,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:21] "GET /001/2048,512,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:23] "GET /001/2560,0,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:25] "GET /001/3072,0,395,512/395,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:31] "GET /001/3072,512,395,512/395,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:31] "GET /001/2560,512,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:32] "GET /001/3072,1024,395,512/395,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:33] "GET /001/2560,1024,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:33] "GET /001/3072,1536,395,512/395,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:35] "GET /001/3072,2048,395,512/395,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:37] "GET /001/2560,2048,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:51] "GET /001/1536,4608,512,509/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:52] "GET /001/1024,4608,512,509/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:54] "GET /001/512,4608,512,509/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:55] "GET /001/0,4608,512,509/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:35:59] "GET /001/0,4096,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:36:00] "GET /001/0,3584,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:36:01] "GET /001/0,3072,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:36:03] "GET /001/0,1536,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:36:04] "GET /001/0,1024,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:36:05] "GET /001/0,512,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:36:06] "GET /001/0,0,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:36:12] "GET /001/512,1024,512,512/512,/0/default.jpg HTTP/1.1" 200 -
127.0.0.1 - - [23/Jul/2015 17:36:13] "GET /001/512,1536,512,512/512,/0/default.jpg HTTP/1.1" 200 -
^C

region & size values above provide test data for tiles that must be generated for a 3467 by 5117 image:

simeon@RottenApple iiif>more /tmp/001/001/info.json 
{
  "@context": "http://iiif.io/api/image/2/context.json", 
  "@id": "001", 
  "height": 5117, 
  "profile": [
    "http://iiif.io/api/image/2/level0.json", 
    {
      "formats": [
        "jpg"
      ], 
      "qualities": [
        "default"
      ]
    }
  ], 
  "protocol": "http://iiif.io/api/image", 
  "tiles": [
    {
      "scaleFactors": [
        1, 
        2, 
        4, 
        8, 
        16
      ], 
      "width": 512
    }
  ], 
  "width": 3467
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment