TG-digilib¶
TG-digilib is a version of digilib (see digilib), which works with textgrid-uris and is integrated with the textgrid repository.
Configuration¶
tg-digilib is configured and setup by puppet, see tg-digilib_puppet_manifest
Dependencies¶
- wildfly, for prescaling images, see wildfly_puppet_manifest
- textgrid message beans, see messaging_puppet_manifest
API Documentation¶
digilib supports the digilib_scaler_api and the iiif_image_api for retrieving textgrid image objects.
digilib scaler API example request:
https://textgridlab.org/1.0/digilib/rest/digilib/textgrid:wtpr.0?dh=100&dw=100
Response: 100px preview image
IIIF Image API example request:
https://textgridlab.org/1.0/digilib/rest/IIIF/textgrid:225j0.0/full/,100/0/native.jpg
Response: 100px preview image
