If that doesn't work for you, something is breaking the Microsoft WIC/HEIF components on your system somehow, possibly only when used in some processes and not others. Maybe antivirus?
Uninstalling the HEIF component (and any others e.g. CopyTrans) and then reinstalling it from the Microsoft Store might be worth a try.
Are you using 64-bit Windows and Opus? (That's what I have re-tested with today.)
It wouldn't let me unistall but it had an option to reset it. I did that and now i can't view any images even in Photo Editor. It keeps redirecting me to download HEVC Video extensions for $0.99. Do i need this?
I think the Microsoft HEIF/HEIC decoder does depend on the HEVC component, yes.
With the HEVC component, there is a free version, which may save the $0.99, but only some accounts/machines qualify for it (I'm unsure of the exact details, but have been able to use it on all of my own machines, at least once logged into the store):
If things were working in the Windows Photos app before then you probably already own one of the HEVC components on your Microsoft Store account.