heif: Ignore EXIF rotation info for now

Ideally we would check if HEIF has transformations
but that will only work when libheif 1.16 is supported

Closes #157
This commit is contained in:
Sophie Herold 2023-05-04 02:13:39 +02:00
parent 3dc9e40bcb
commit dbf662ed3a
5 changed files with 104 additions and 47 deletions

View file

@ -150,8 +150,6 @@ impl Decoder {
file: gio::File,
tiles: Arc<ArcSwap<tiling::FrameBuffer>>,
) -> anyhow::Result<FormatDecoder> {
update_sender.send(DecoderUpdate::Metadata(ImageMetadata::load(&file)));
let format = Self::guess_format(&file)?;
if let Some(format) = format {