diff --git a/showbits-thermal-printer/src/drawer.rs b/showbits-thermal-printer/src/drawer.rs index e00308f..de7b38f 100644 --- a/showbits-thermal-printer/src/drawer.rs +++ b/showbits-thermal-printer/src/drawer.rs @@ -165,6 +165,11 @@ impl Drawer { } fn on_photo(&mut self, mut image: RgbaImage, title: String) -> anyhow::Result<()> { + println!( + "Printing photo {title:?} ({}x{})", + image.width(), + image.height() + ); let mut tree = Tree::::new(WHITE); for pixel in image.pixels_mut() { diff --git a/showbits-thermal-printer/static/photo.html b/showbits-thermal-printer/static/photo.html index afcae97..da08994 100644 --- a/showbits-thermal-printer/static/photo.html +++ b/showbits-thermal-printer/static/photo.html @@ -147,7 +147,7 @@ - +