artemsen / swayimg

Image viewer for Wayland
MIT License
379 stars 31 forks source link

Corrupted output of some AVIF images #61

Closed ndren closed 1 year ago

ndren commented 1 year ago

Some AVIF images appear corrupted (stretched diagonally). I have some test cases.

The source image, arch.png, has been converted to imagemagick.avif with magick convert arch.png imagemagick.avif and to ffmpeg.avif with ffmpeg -i arch.png ffmpeg.avif

Both these AVIF images display this in swayimg, which is not something I can reproduce when using any other image viewer with the same images.

This is not reproducible with other AVIF images, like this one, so it might be the specific AVIF encoding?

artemsen commented 1 year ago

Fixed, thank you!