For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:NickLion:scn/openSUSE_Tumbleweed/home:NickLion:scn.repo
zypper refresh
zypper install libheif
For openSUSE Leap 15.2 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:NickLion:scn/openSUSE_Leap_15.2/home:NickLion:scn.repo
zypper refresh
zypper install libheif
For 15.6 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:NickLion:scn/15.6/home:NickLion:scn.repo
zypper refresh
zypper install libheif
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:NickLion:scn/15.5/home:NickLion:scn.repo
zypper refresh
zypper install libheif
For 15.4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:NickLion:scn/15.4/home:NickLion:scn.repo
zypper refresh
zypper install libheif