I noticed a strange issue with GIMP libheif plug-in - some of the converted images look a little washed out (any such noticeable colour change is ofcourse, unacceptable). But macOS Preview converts them perfectly without any such colour difference. I suspect libheif to be buggy.
I only had success with the command-line utility. Attempting to use libheif embedded in other tools did not succeed. I assume this is because the other tools implemented libheif before it supported ICC and have not kept up with the times.
Thanks. Will check this out. But I suspect if it will work properly on some of my files - GIMP also uses libheif and the HEIF plugin that uses it kept crashing on some of my huge image files.