Quality
The quality parameter defines whether the image should be delivered as:
Name | Definition |
---|---|
Default | Using source color palette/style |
Gray | Grayscale |
Bitonal | Each pixel is black or white |
Color | The color image. This could be a colorized version of a black and white source image |
This can be useful for some image processing tools like OCR generation. To see what types a image server supports you can look into the info.json
profile section:
https://ids.lib.harvard.edu/ids/iiif/25286607/info.json
profile": [
"http://iiif.io/api/image/2/level2.json",
{
"supports": [
"canonicalLinkHeader",
"profileLinkHeader",
"mirroring",
"rotationArbitrary",
"regionSquare",
"sizeAboveFull"
],
"qualities": [
"default",
"bitonal",
"gray",
"color"
],
"formats": [
"jpg",
"tif",
"png",
"gif",
"webp"
]
}
],
See the example below: