iiif-transform

command
v8.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2025 License: BSD-3-Clause Imports: 8 Imported by: 0

README

iiif-transform

Transform one or more images using the IIIF API.

$> ./bin/iiif-transform -h
Transform one or more images using the IIIF API.

Usage:
	 ./bin/iiif-transform[options] uri(N) uri(N)

Valid options are:
  -config-derivatives-cache-uri string
    	If present this value will be used to assign the 'derivatives.cache.uri' property in the config file. Note: The 'derivatives.cache.uri' property takes precedence over other properties in 'derivatives.cache' block.
  -config-images-source-uri string
    	If present this value will be used to assign the 'images.source.uri' property in the config file. Note: The 'images.source.uri' property takes precedence over other properties in 'images.source' block.
  -config-name string
    	The name of your go-iiif config file. This value will be ignored if -config-source is 'defaults://'. (default "config.json")
  -config-source string
    	A valid Go Cloud bucket URI where your go-iiif config file is located. Optionally, if 'defaults://' is specified then the default config bundled with this package will be used. (default "defaults://")
  -format string
    	A valid IIIF 2.0 format value. (default "jpg")
  -mode string
    	Valid options are: cli, fsnotify, lambda (default "cli")
  -quality string
    	A valid IIIF 2.0 quality value. (default "default")
  -region string
    	A valid IIIF 2.0 region value. (default "full")
  -rotation string
    	A valid IIIF 2.0 rotation value. (default "0")
  -size string
    	A valid IIIF 2.0 size value. (default "full")
  -verbose
    	Enabled verbose (debug) loggging.

Example

$> ./bin/iiif-transform \
	-config config.json \
	-quality dither \
	-size ,300
	/usr/local/cooperhewitt/iiif/images/184512_5f7f47e5b3c66207_x.jpg

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL