'How do I use imagemagick to convert HEIC to JPG and preserve quality?

I'd like to batch convert .heic images (e.g. iPhone photograph) to .jpg files with imagemagick, with the goal of retaining as much of the quality from the original image as possible. To be clear, the resulting output size is not a concern.

I've been using

magick input.heic -quality 100% output.jpg

Is it possible to do better?



Solution 1:[1]

No, its not possible to do better per ImageMagick's website:

Set the quality to 100 to produce lossless HEIC images. Requires the libheif delegate library.

I interpret lossless as NOTHING is lost from original picture. However since you ARE converting to another file type maybe its possible you lose something, are you seeing any artifacts/issues?

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1