Adding iiif 1.0 info samples

This commit is contained in:
Jon Stroop 2013-09-28 06:46:41 -04:00
parent dcb2fc7136
commit 00870530af
2 changed files with 27 additions and 0 deletions

26
test/data/iiif1_0.json Normal file
View File

@ -0,0 +1,26 @@
{
"identifier": "pudl0071/4055459/01/00000030",
"width": 2584,
"height": 3600,
"scale_factors": [
1,
2,
3,
4,
5
],
"tile_width": 256,
"tile_height": 256,
"formats": [
"jpg",
"png"
],
"qualities": [
"native",
"bitonal",
"grey",
"color"
],
"profile": "http://library.stanford.edu/iiif/image-api/compliance.html#level1",
"image_host": "http://img.princeton.edu/loris
}

1
test/data/iiif1_0.xml Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><info xmlns="http://library.stanford.edu/iiif/image-api/ns/"><identifier>pudl0071/4055459/01/00000030</identifier><width>2584</width><height>3600</height><scale_factors><scale_factor>1</scale_factor><scale_factor>2</scale_factor><scale_factor>3</scale_factor><scale_factor>4</scale_factor><scale_factor>5</scale_factor></scale_factors><tile_width>256</tile_width><tile_height>256</tile_height><formats><format>jpg</format><format>png</format></formats><qualities><quality>native</quality><quality>bitonal</quality><quality>grey</quality><quality>color</quality></qualities><profile>http://library.stanford.edu/iiif/image-api/compliance.html#level1</profile><image_host>http://img.princeton.edu/loris</image_host></info>