Make video play on iOS

This commit is contained in:
Joscha 2024-03-29 20:39:21 +01:00
parent ed9fb6d23a
commit 95d49daa23
2 changed files with 6 additions and 1 deletions

View file

@ -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::<Context>::new(WHITE);
for pixel in image.pixels_mut() {