image: Add newly designed thumbnail for DnD

The old method stopped working with the new decoder setup.

The new design features a frame for contrast and rotates
images based on EXIF information.

Closes #89
This commit is contained in:
Sophie Herold 2023-03-07 20:48:09 +01:00 • committed by Christopher Davis
parent 88efb9e5fd
commit 05ef429b86
6 changed files with 87 additions and 122 deletions

View file

@ -173,10 +173,6 @@ impl LpImagePage {
self.imp().image.get()
}
pub fn texture(&self) -> Option<gdk::Texture> {
self.imp().image.texture()
}
pub fn content_provider(&self) -> Option<gdk::ContentProvider> {
self.imp().image.content_provider()
}