-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.example.yml
71 lines (71 loc) · 2.15 KB
/
config.example.yml
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
input_dir: "./samples/input"
output_dir: "./samples/output"
resize:
# Desired width in pixels.
# Zero value will resize image proportionally to height.
# Default value: 0.
width: 100
# Desired height in pixels.
# Zero value will resize image proportionally to width.
# Default value: 0.
height: 50
# Whether to upscale.
# Default value: false.
upscale: true
# Resize type.
# Accepted values: Normal, Thumbnail, Fit and Fill.
# Default value: Normal.
type: Normal
# Resize resampling filter.
# Accepted values: Lanczos, CatmullRom, MitchellNetravali, Linear, Box and NearestNeighbor.
# Default value: Lanczos.
filter: Lanczos
# Anchor is used for image alignment when using Resize Type 'Fill'.
# Accepted values: Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom and BottomRight.
# Default value: Center.
anchor: Center
transform:
# Automatically fix orientation after processing.
# Default value: false.
auto_orientation: true
# Rotate clockwise by certain angle in degrees.
# Accepted values: 0 90 180 270.
# Default value: 0.
rotate: 90
# Flip on a certain axis.
# Accepted values: Vertical and Horizontal.
# Default value: None.
flip: Vertical
effect:
# Strength of the gaussian blur effect.
# Accepted values: 0.0 to 5.0.
# Default value: 0.
gaussian_blur: 2.0
# Strength of the sharpening effect.
# Accepted values: 0.0 to 5.0.
# Default value: 0.
sharpen: 1.0
adjust:
# Gamma correction.
# Accepted values: 0.0 to 5.0.
# Values less that 1.0 are darker while values greater than 1.0 are lighter.
# Default value: 0.
gamma: 0.5
# Percentage value.
# Accepted values: -100 to 100.
# Negative values are grayer.
# Default value: 0.
contrast: 50
# Percentage value.
# Accepted values: -100 to 100.
# Lower negative values are darker while higher positive values are lighter.
# Default value: 0.
brightness: 50
# Percentage value.
# Accepted values: -100 to 100.
# Negative values decrease image saturation while positive values increase image saturation.
# Default value: 0.
saturation: 50
# Grayscale version.
# Default value: false.
grayscale: true