Skip to content
Snippets Groups Projects
Commit c9a9f0a6 authored by Udo Eisenbarth's avatar Udo Eisenbarth :speech_balloon:
Browse files

Updated changelog and bumped version number

Updated dependencies.
parent 7f72ae11
No related branches found
No related tags found
No related merge requests found
Pipeline #12337 passed
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
[package] [package]
name = "opossum" name = "opossum"
version = "0.4.0" version = "0.5.0"
edition = "2021" edition = "2021"
authors = [ authors = [
"Udo Eisenbarth <u.eisenbarth@gsi.de>", "Udo Eisenbarth <u.eisenbarth@gsi.de>",
......
...@@ -11,7 +11,7 @@ use crate::{ ...@@ -11,7 +11,7 @@ use crate::{
reporter::AnalysisReport, reporter::AnalysisReport,
}; };
use chrono::Local; use chrono::Local;
use image::{io::Reader, DynamicImage}; use image::{DynamicImage, ImageReader};
use log::warn; use log::warn;
use petgraph::prelude::NodeIndex; use petgraph::prelude::NodeIndex;
...@@ -155,7 +155,7 @@ impl OpticScenery { ...@@ -155,7 +155,7 @@ impl OpticScenery {
.arg("-Tpng") .arg("-Tpng")
.output() .output()
.map_err(|e| OpossumError::Other(format!("conversion to image failed: {e}")))?; .map_err(|e| OpossumError::Other(format!("conversion to image failed: {e}")))?;
let img = Reader::new(Cursor::new(r.stdout)) let img = ImageReader::new(Cursor::new(r.stdout))
.with_guessed_format() .with_guessed_format()
.map_err(|e| OpossumError::Other(format!("conversion to image failed: {e}")))? .map_err(|e| OpossumError::Other(format!("conversion to image failed: {e}")))?
.decode() .decode()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment