I've extracted a whole bunch of HEIC photos from my iPhone and many of them contain a depth channel. This is because they were taken in a portrait mode.

After some digging, I was able to approach to expected outcome using a command like this:

convert -monitor \( IMG_0285.JPG \) \( IMG_0285-depth.JPG -resize 3024x4032 -negate \) -set option:compose:args '8x8' -compose blur -composite out.jpg

But this is still far from what I see on the iPhone itself. I've been googling a lot and didn't find anything similar.

So what are the ways to convert HEIC image with depth to a JPG?

  • Are you able to provide a link to a sample heic file?
    – xiota
    Nov 3 '20 at 20:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.