aboutsummaryrefslogtreecommitdiff
blob: 63443776aa154acf88d32c765230fc1909a8edd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# OpenRC configuration file


# Parameters to pass to OpenRC init:

# Set which host and port iipsrv should listen
HOST="0.0.0.0"
PORT=9000

# Set user and group under which iipsrv should run
USER=iipsrv
GROUP=iipsrv


# Parameters to pass directly to iipsrv.
# See https://iipimage.sourceforge.io/documentation/server for full details.
# Note that these must be exported:

# File to which iipsrv should log
export LOGFILE="/var/log/iipsrv.log"

# Level of logging (0 is no logging)
export VERBOSITY=1

# Set a mapping from a URL prefix to a supported protocol
export URI_MAP="iiif=>IIIF"

# Max internal cache size for raw tile data in MB
#MAX_IMAGE_CACHE_SIZE=10

# Prefix automatically added to each file path
#FILESYSTEM_PREFIX=

# Suffix automatically added to end of each file path
#FILESYSTEM_SUFFIX

# Default JPEG quality factor
#JPEG_QUALITY=75

# Default PNG deflate compression factor
# PNG_QUALITY=1

# Default WebP quality factor
#WEBP_QUALITY=50

# Maximum output image dimensions in pixels
#MAX_CVT=5000

# Whether image may be upscaled: 0 = no, 1 = yes
#ALLOW_UPSCALING=1

# Maximum number of quality layers to decode in supported formats (-1 for all layers)
# MAX_LAYERS=-1

# TIFF image to use as watermark
#WATERMARK=

# Probability (between 0.0-1.0) that a tile will have watermark applied
#WATERMARK_PROBABILITY=1.0

# Opacity (between 0.0-1.0) applied to watermark image
#WATERMARK_OPACITY=1

#Comma-delimitted list of memcached servers with optional port numbers
#MEMCACHED_SERVERS=

#Time in seconds that cache remains fresh
#MEMCACHED_TIMEOUT=86400

# Interpolation method to use for rescaling when using image export
# 0 = nearest neighbout, 1 = bilinear
#INTERPOLATION=1

# Cross Origin Resource Sharing setting. Disabled by default
#CORS=

# Set a base URL for use in IIIF requests if using web server rewriting
#BASE_URL=

# Set the HTTP Cache-Control header
#CACHE_CONTROL="max-age=86400"

# Pattern following name stem to indicate an image sequence
#FILENAME_PATTERN="_pyr_"