Skip to content

Commit ac5d8d5

Browse files
committed
added new default quality files and fixed rotation in config files
1 parent 52f4285 commit ac5d8d5

File tree

4 files changed

+22
-9
lines changed

4 files changed

+22
-9
lines changed

default.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ display_glitches = false
1010
auto_adjust_iterations = true
1111
probe_sampling = 3
1212
remove_centre = true
13-
export = "colour"
13+
export = "png"

high.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
image_width = 2000
2-
image_height = 2000
1+
image_width = 1920
2+
image_height = 1080
33
rotate = 0
4-
approximation_order = 32
4+
approximation_order = 48
55
glitch_tolerance = 0.001
66
frames = 1
77
frame_offset = 0
@@ -10,4 +10,4 @@ display_glitches = false
1010
auto_adjust_iterations = true
1111
probe_sampling = 3
1212
remove_centre = true
13-
export = "both"
13+
export = "raw"

low.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
image_width = 500
2+
image_height = 500
3+
rotate = 0
4+
approximation_order = 16
5+
glitch_tolerance = 0.001
6+
frames = 1
7+
frame_offset = 0
8+
zoom_scale = 2.0
9+
display_glitches = false
10+
auto_adjust_iterations = true
11+
probe_sampling = 2
12+
remove_centre = true
13+
export = "png"

src/bin/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ fn main() {
2828

2929
let mut settings = Config::default();
3030

31-
if let Some(l) = matches.value_of("INPUT") {
32-
settings.merge(File::with_name(l).required(true)).unwrap();
33-
};
34-
3531
if let Some(p) = matches.value_of("options") {
3632
settings.merge(File::with_name(p).required(true)).unwrap();
3733
};
3834

35+
if let Some(l) = matches.value_of("INPUT") {
36+
settings.merge(File::with_name(l).required(true)).unwrap();
37+
};
38+
3939
let mut renderer = FractalRenderer::new(settings);
4040
// renderer.render("output/output".to_owned());
4141
renderer.render();

0 commit comments

Comments
 (0)