Pass a barcode to the script and convert all TIFFs in the barcode-named directory into JPEG-compressed, IIIF-compatible Pyramid TIFFs for use with the Caltech Library DIBS.
The main script. Includes status file manipulation for DIBS, image conversion, metadata retrieval, IIIF manifest generation, and file upload to S3.
AWS credentials are required and may be added in the settings.ini
file.
A simple Bash script to check for initialized status files and begin processing any TIFFs in folders named with the barcode embedded in the status file name.
A logging handler to send messages to a Slack channel. Logging configuration is
saved in the settings.ini
file. See example-settings.ini
for details.
TODO: develop a general caltechlibrarylogger package to be used instead.
- A Slack API OAuth Token.
- A Slack channel where messages will be sent.