Play with Parameters
Now we will play with different parameters.
You'll use this base URI and add the other parameters on: https://iiif.lib.ncsu.edu/iiif/segPap_021
Here's the URI template you'll use:
All the example values below ought to work with this particular image. Links to the standard documentation are given for each of the parameters.
Here are some questions you can ask yourself as you try out the examples:
- Which parameters might you use to create a thumbnail for a search index or browse view?
- How would you get the full image to fit within a 500 by 500 pixel space regardless of the orientation of the image?
- If you were creating a deep zoom viewer that used tiles, how might you go about creating the image URLs you need?
- How would you create a square image? When might this be useful?
Try each of the following forms for size to see how images can be scaled.
To see how rotation works it can be helpful to have a non-rotated version up as well your rotated and/or mirrored version.
Valid values are: color, gray, bitonal, default.
Try changing the
iiif-staging02.lib.ncsu.eduand using these values for quality: dither, pixelized, negative. These are non-standard, but fun!
Possible values for this image server: jpg and png.
Start with the base URI add the image identifier and then add on the different Image API parameters.
Challenge: Try to use the region parameter to get a particular section of the image like a face or a painting in a painting.
NCSU Libraries https://iiif.lib.ncsu.edu/iiif
Art Institute of Chicago https://lakeimagesweb.artic.edu/iiif
Frick Collection http://collections.frick.org/apis/iiif/image/v2/
Princeton Libraries https://libimages.princeton.edu/loris/
You may also want to try using this tool to play around with parameters.
Or use this example image to play with parameters: https://jsfiddle.net/mejackreed/r3a5ayhe/2/. You'll need to click "run" after you make changes to see the result.