This is a beta version of migrating these workshop materials to a new platform. If you run into issues please file an issue or click on the edit link above and submit a pull request. You can use the previous version of the workshop materials as a fallback.
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:
In a text editor copy the template above and begin filling in different values for the region, size, rotation, quality, and format.
All the example values below ought to work with this particular image. Links to the standard documentation are given for each of the parameters.
It may be easier to see what’s happening with some of the other parameters if you use a “full” region.
When viewing an image in the Firefox and Chrome web browsers the title bar will tell you the width x height of the image in pixels.
Note not all image servers will support all variations of all parameters. Later we’ll cover levels of compliance to explain why.
Here are some questions you can ask yourself as you try out the examples:
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.
You can also try manipulating these other images. Given is the scheme, server, and prefix then a list of image identifiers.
Start with the base URI add the image identifier and then add on the different Image API parameters.
Try to use the region parameter to get a particular section of the image like a face or a painting in a painting.
Art Institute of Chicago
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.