Page 1 of 1

creating a HEIC file adding 2 JPEGs, 1-with the image and 2-with depthmap

Posted: 2019-06-01T12:18:29-07:00
by josephotoservices
Hi everyone I'm new in here; I got an iMac running Mojave, yesterday I successfully installed ImageMagick from Terminal.

I need to create a HEIC file based on 2 JEPGs one with the image and the second with depth map; in order to build something like an iPhone Portrait file.

I tried this but didn’t work as I supposed it; anyway I gave it a try.

magick DSC_0035.jpg +matte DSC_0035_depth.jpg jays.heic



Thanx in Advanced

Re: creating a HEIC file adding 2 JPEGs, 1-with the image and 2-with depthmap

Posted: 2019-06-01T12:34:25-07:00
by fmw42
Did you install libheif?

From the format page:
HEIC R Apple High efficiency Image Format HEIC requires the libheif delegate library.
See https://github.com/strukturag/libheif and read the limitations. That library is not in full compliance with the Apple heic format. It is limited in its scope.

Also I believe it is limited to IM 7. What version of ImageMagick did you install?

Search this forum for heic or libheif. For example I found

https://imagemagick.org/discourse-serve ... ic#p160050

Re: creating a HEIC file adding 2 JPEGs, 1-with the image and 2-with depthmap

Posted: 2019-06-01T13:36:10-07:00
by josephotoservices
my version is 7.0.8-9, is it suitable for my purpose ?
before I register this forum I read the link https://imagemagick.org/discourse-serve ... ic#p160050
and to be honest it supposed many questions when I tried to understanding all long confusing command line parameters; but I’ll learn all the meaning during this week but right now I need a shortcut.

Thank fmw42 for your pretty fast answers; but if you or anyone happened to know any ideas? please help me with it

Re: creating a HEIC file adding 2 JPEGs, 1-with the image and 2-with depthmap

Posted: 2019-06-01T14:59:09-07:00
by fmw42
my version is 7.0.8-9, is it suitable for my purpose ?
Possibly. It was introduced earlier, but there have been some bug fixes and changes. Read the changelog at https://imagemagick.org/script/changelog.php and search for heic.


Sorry, I have no experience with it.

Just to be sure everything is OK with your install, type in a terminal window:

Code: Select all

magick -version
and paste here what you get back.

Also try
magick logo: logo.gif
Does that create an output image in your current directory.