Skip to content

Commit efc78db

Browse files
committed
images moved to assets
1 parent 3a6162a commit efc78db

4 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ How To Jpeg DCT Quantize And QuadTree Compression Works Using Rust
99
* https://github.com/yacinemezaguer/JPEGVis
1010
* https://github.com/TannerYork/Region-Quadtree
1111

12-
![alt text](JpegView_image.png)
12+
![alt text](assets/JpegView_image.png)
File renamed without changes.

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ fn main() {
167167
let mut root_quad_list: Vec<Rc<RefCell<quad_tree::QuadNode>>> = vec![];
168168

169169
if cfg!(debug_assertions) {
170-
let path = format!("{}/testpattern.png", working_dir.to_str().unwrap());
170+
let path = format!("{}/assets/testpattern.png", working_dir.to_str().unwrap());
171171

172172
let image = image::io::Reader::open(Path::new(&path))
173173
.expect("Could not open image")

0 commit comments

Comments
 (0)