Summary: | media-libs/libavif: enable libyuv support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | jlm <WoLibertygentoo> |
Component: | Current packages | Assignee: | Daniel Novomeský <dnovomesky> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | jstein, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
jlm
2023-11-05 21:14:06 UTC
The root of the problem is bug in older libheif. Problem is with rotated images and that width and heigh are swapped. Firefox reject such images and Google Chrome apply unexpected scaling so that picture looks differently as intended. We have 1.15.2 version in Gentoo, that version has the bug. But after manually building libheif, the AVIF files with rotation are created correctly. Rotated AVIF created using libheif-1.15.2 are not correct. Enabling libyuv would help to display them, but the scaling (like what Chrome uses) would be performed, it would look much differently than original (because of swapped with and height after rotation). I recommend to upgrade libheif when possible and to re-generate the AVIF files again afterwards. |