KReimage (2.5) is an useful tool, but converting an avif with a portrait forma, it could happen that the correct orientation (portrait) goes away.
A fix of this bug, is modifying the file reimaga-kdialogo (tipically in /urs/bin) with this new code: you can download it (too long to add as text here).
avif metadata
To write metadata in avif image files with Digikam, you have to set it in
settings – > metadata -> behavior, as in the attached image:
