Being curious, and just having received my first .HEIC image ever (form
a guy with an iPhone), I upgraded ImageMagic to the present version
(worked) and then tried it: It failed. Here are the call & the error
message:
macbook-pro:Pictures uli$ convert IMG_3160.HEIC img_3160.png
convert: unable to load module
`/opt/local/lib/ImageMagick-6.9.11/modules-Q16/coders/heic.la': file not
found @ error/module.c/OpenModule/1315.
convert: no decode delegate for this image format `HEIC' @
error/constitute.c/ReadImage/566.
convert: no images defined `img_3160.png' @
error/convert.c/ConvertImageCommand/3226.
The weird thing is that
/opt/local/lib/ImageMagick-6.9.11/modules-Q16/coders/heic.la actually
exists, and so are the four related libraries in /opt/local/bin:
/opt/local/lib/libheif.1.dylib /opt/local/lib/libheif.a
/opt/local/lib/libheif.dylib /opt/local/lib/libheif.la
So, what could be amiss?
Uli
On 9/25/20 8:00 PM, Ryan Schmidt wrote:
On Sep 25, 2020, at 10:40, Christoph Kukulies wrote:
I was seeking for a means to convert Apples new HEIC/HEIF format to more
traditional formats and I always remembered ImageMagick being a good choice
for that.
Unfortunately the macports version is quite outdated.
6.9.11-29
vs. 7.0.10-30 being the latest.
How can I get a newer version via macports?
Since I'm the maintainer of the ImageMagick port I should probably respond.
The ImageMagick port currently follows ImageMagick 6. As such, it is not very
outdated. It's at version 6.9.11-29 and the current version is 6.9.11-30. I
update the port several times a month, as seen here:
https://github.com/macports/macports-ports/commits/master/graphics/ImageMagick/Portfile
We should offer ImageMagick 7 in addition to ImageMagick 6 but I have not begun
work on doing that. Since ImageMagick 6 will be supported until 2027 I have not
felt an urgency to work on that.
Our ImageMagick 6 port is supposed to support HEIC/HEIF. If it's not working
for you, show us what you're doing, what result you're getting, and what result
you were expecting to get.