Command line tool for HEIF/HEIC images that can add depth map ?

Hi,

I’ve found gpac and mp4box that was mentioned in the HEIF Apple Developer video.. However it only seems to work with converting video to HEIC still images. It’s also very complex. All I need is a tool that can create an HEIC image and add another image to it as a depth buffer. I’ve tried ImageMagick and libeif that has heif-enc but that can’t add the depth buffer. For such a major knew format I feel I must be missing something here ! Any help appreciated.

Writing HEIF / HEIC images with Linux tools is apparently difficult due to interpretations regarding potential patents on standards used in them in the open source community. I could build an imagemagick which writes HEIC, but didn't manage yet to modify attributes in them. For changing attributes I could only find this so far: https://developer.apple.com/documentation/ImageIO/writing-spatial-photos

That tool can be run from the command line, but only on macOS due to the ImageIO library which is not available in the Swift for Linux version.

Command line tool for HEIF/HEIC images that can add depth map ?
 
 
Q