I found that Converseen version 0.9.9.0 was able to convert an HEIC file downloaded from iphone to jpeg easily without any modification. It worked on Debian 11 Bullseye and assume that it should work on the current Ubuntu version.You may install it from repo using sudo apt install converseen