-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.config
More file actions
39 lines (31 loc) · 2.58 KB
/
.config
File metadata and controls
39 lines (31 loc) · 2.58 KB
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
# _____ _ _ _ _ __ _____
# | __ \ | | | | | | |/ / / ____|
# | |__) |_ _ _ __ __ _| | | ___| | | ' / _ __ ___ ___ __ _ _ __ ___ | | ___ _ __ ___ _ __ _ __ ___ ___ ___ ___ _ __
# | ___/ _` | '__/ _` | | |/ _ \ | | < | '_ ` _ \ / _ \/ _` | '_ \/ __| | | / _ \| '_ ` _ \| '_ \| '__/ _ \/ __/ __|/ _ \| '__|
# | | | (_| | | | (_| | | | __/ | | . \| | | | | | __/ (_| | | | \__ \ | |___| (_) | | | | | | |_) | | | __/\__ \__ \ (_) | |
# |_|___\__,_|_| \__,_|_|_|\___|_| |_|\_\_| |_| |_|\___|\__,_|_| |_|___/__\_____\___/|_| |_| |_| .__/|_| \___||___/___/\___/|_|
# / ____| / _(_) | | (_) | ____(_) | | |
# | | ___ _ __ | |_ _ __ _ _ _ _ __ __ _| |_ _ ___ _ __ | |__ _| | ___ |_|
# | | / _ \| '_ \| _| |/ _` | | | | '__/ _` | __| |/ _ \| '_ \ | __| | | |/ _ \
# | |___| (_) | | | | | | | (_| | |_| | | | (_| | |_| | (_) | | | | | | | | | __/
# \_____\___/|_| |_|_| |_|\__, |\__,_|_| \__,_|\__|_|\___/|_| |_| |_| |_|_|\___|
# __/ |
# |___/
# Within this file, it is possible to define certain parameters that will be utilized during the program's execution
# Colours levels
# For each number, you'll find the corresponding percentage of colors that will be mantained in the output image
first_level_compression_color = 0.01
second_level_compression_color = 0.02
third_level_compression_color = 0.04
fourth_level_compression_color = 0.07
fifth_level_compression_color = 0.09
# Resizing Factor
# It defines the resizing factor in the case of compression with resize
resizing_factor = 0.5
# Input Image File Path
# Examples: "./benchmarkImages/padova1005x804.jpg" "./benchmarkImages/perugia-1920x780.jpg" "./benchmarkImages/piazzaDuomo-612x612.jpg"
input_image_file_path = "./benchmarkImages/perugia-1920x780.jpg"
# Compression Choice (values from 1 to 3)
compression_choice = 2
# Color Choice (values from 1 to 5)
color_choice = 1