forked from WyohKnott/image-comparison-sources
-
Notifications
You must be signed in to change notification settings - Fork 0
/
recipes.json
136 lines (136 loc) · 5.64 KB
/
recipes.json
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"recipes": {
"av1-20170809": {
"quality_start": 4,
"quality_end": 63,
"quality_step": 1,
"encode_extension": "webm",
"decode_extension": "y4m",
"encode_cmd": "aomenc --passes=2 --end-usage=q --cq-level=$quality -o $target $origpng_y4m",
"lossless_cmd": "aomenc --passes=2 --lossless=1 -o $target $origpng_y4m",
"decode_cmd": "aomdec $target -o $target_dec",
"export_to_png": true
},
"av1-20160930": {
"quality_start": 4,
"quality_end": 63,
"quality_step": 1,
"encode_extension": "webm",
"decode_extension": "y4m",
"encode_cmd": "aomenc --passes=2 --end-usage=q --cq-level=$quality -o $target $origpng_y4m",
"lossless_cmd": "aomenc --passes=2 --lossless=1 -o $target $origpng_y4m",
"decode_cmd": "aomdec $target -o $target_dec",
"export_to_png": true
},
"bpg": {
"quality_start": 1,
"quality_end": 51,
"quality_step": 1,
"encode_extension": "bpg",
"decode_extension": "png",
"encode_cmd": "bpgenc -m 8 -f 420 -q $quality -o $target $origpng",
"lossless_cmd": "bpgenc -m 8 -f 420 -lossless -o $target $origpng",
"decode_cmd": "bpgdec -o $target_dec $target",
"export_to_png": false
},
"daala": {
"quality_start": 5,
"quality_end": 85,
"quality_step": 1,
"encode_extension": "ogv",
"decode_extension": "y4m",
"encode_cmd": "encoder_example -v $quality -o $target $origpng_y4m",
"lossless_cmd": "encoder_example -v 0 -o $target $origpng_y4m",
"decode_cmd": "dump_video -o $target_dec $target",
"export_to_png": true
},
"flif": {
"quality_start": -329,
"quality_end": 79,
"quality_step": 12,
"encode_extension": "flif",
"decode_extension": "png",
"encode_cmd": "flif -Q $quality $origpng $target",
"lossless_cmd": "flif --overwrite -Q 100 $origpng $target",
"decode_cmd": "flif --overwrite $target $target_dec",
"export_to_png": true
},
"jxr": {
"quality_start": 5,
"quality_end": 85,
"quality_step": 1,
"encode_extension": "jxr",
"decode_extension": "ppm",
"encode_cmd": "JxrEncApp -d 1 -q $quality -o $target -i $origpng_ppm",
"lossless_cmd": "JxrEncApp -d 1 -q 1 -o $target -i $origpng_ppm",
"decode_cmd": "JxrDecApp -o $target_dec -i $target",
"export_to_png": false
},
"kdu": {
"quality_start": 38912,
"quality_end": 45056,
"quality_step": 64,
"encode_extension": "jp2",
"decode_extension": "ppm",
"encode_cmd": "kdu_compress -no_info -slope $quality -o $target -i $origpng_ppm",
"lossless_cmd": "kdu_compress -no_info Creversible=yes -slope 0 -o $target -i $origpng_ppm",
"decode_cmd": "kdu_expand -o $target_dec -i $target",
"export_to_png": false
},
"mozjpeg": {
"quality_start": 5,
"quality_end": 95,
"quality_step": 1,
"encode_extension": "jpg",
"decode_extension": "ppm",
"encode_cmd": "cjpeg -quality $quality -outfile $target $origpng_ppm",
"lossless_cmd": "cjpeg -rgb -quality 100 -outfile $target $origpng_ppm",
"decode_cmd": "djpeg -outfile $target_dec $target",
"export_to_png": false
},
"openjpeg": {
"quality_start": 5,
"quality_end": 165,
"quality_step": 5,
"encode_extension": "jp2",
"decode_extension": "ppm",
"encode_cmd": "opj_compress -r $quality -o $target -i $origpng_ppm",
"lossless_cmd": "opj_compress -r 1 -o $target -i $origpng_ppm",
"decode_cmd": "opj_decompress -i $target -o $target_dec",
"export_to_png": false
},
"pik": {
"quality_start": 0.5,
"quality_end": 3.25,
"quality_step": 0.25,
"encode_extension": "pik",
"decode_extension": "png",
"encode_cmd": "cpik $origpng $target --distance $quality",
"lossless_cmd": "cpik $origpng $target --distance 0.5",
"decode_cmd": "dpik $target $target_dec",
"export_to_png": true
},
"vp9": {
"quality_start": 4,
"quality_end": 63,
"quality_step": 1,
"encode_extension": "webm",
"decode_extension": "y4m",
"encode_cmd": "vpxenc --tile-columns=4 --row-mt=1 --cpu-used=2 --end-usage=q --cq-level=$quality -o $target $origpng_y4m",
"lossless_cmd": "vpxenc --tile-columns=4 --row-mt=1 --cpu-used=2 --lossless=1 -o $target $origpng_y4m",
"decode_cmd": "vpxdec $target -o $target_dec",
"export_to_png": true
},
"webp": {
"quality_start": 0,
"quality_end": 95,
"quality_step": 1,
"encode_extension": "webp",
"decode_extension": "png",
"encode_cmd": "cwebp -mt -q $quality -o $target $origpng",
"lossless_cmd": "cwebp -mt -z 9 -lossless -o $target $origpng",
"decode_cmd": "dwebp -o $target_dec $target",
"export_to_png": false
}
}
}