Skip to content

Commit 386a073

Browse files
chore: use svg's to keep repo size smaller
Signed-off-by: Henry Gressmann <[email protected]>
1 parent bde3383 commit 386a073

File tree

5 files changed

+77
-3
lines changed

5 files changed

+77
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
I'm currently working on supporting the WebAssembly MVP (1.0) specification. You can see the current status in the graph below. The goal is to support all the features of the MVP specification and then move on to the next version.
1919

2020
<p align="center">
21-
<img align="center" src="./crates/tinywasm/tests/progress-mvp.png" width="700" alt="">
21+
<img align="center" src="./crates/tinywasm/tests/progress-mvp.svg" width="700" alt="">
2222
</p>
2323

2424
## Features

crates/tinywasm/tests/charts/progress.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub fn create_progress_chart(csv_path: &Path, output_path: &Path) -> Result<()>
3636
println!("versions: {:?}", versions);
3737
println!("data: {:?}", data);
3838

39-
let root_area = BitMapBackend::new(output_path, (1000, 400)).into_drawing_area();
39+
let root_area = SVGBackend::new(output_path, (1000, 400)).into_drawing_area();
4040
root_area.fill(&WHITE)?;
4141

4242
let mut chart = ChartBuilder::on(&root_area)

crates/tinywasm/tests/mvp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fn generate_charts() -> Result<()> {
1010
// Create a line chart
1111
charts::create_progress_chart(
1212
std::path::Path::new("./tests/mvp.csv"),
13-
std::path::Path::new("./tests/progress-mvp.png"),
13+
std::path::Path::new("./tests/progress-mvp.svg"),
1414
)?;
1515

1616
// // Create a bar chart
-21.9 KB
Binary file not shown.
Lines changed: 74 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)