image: Add rotation and auto rotate based on exif

This commit is contained in:
Sophie Herold 2022-11-03 17:40:06 +01:00
parent 3d6564377a
commit a2e6767584
10 changed files with 257 additions and 94 deletions

View file

@ -132,6 +132,10 @@ impl LpImagePage {
self.imp().file.get().cloned()
}
pub fn image(&self) -> LpImage {
self.imp().image.get()
}
pub fn texture(&self) -> Option<gdk::Texture> {
self.imp().image.texture()
}