elixir-mogrify / mogrify

Image processing in Elixir (ImageMagick command line wrapper)
MIT License
570 stars 65 forks source link

[Question] - Conversion from HEIC to jpg #84

Closed pdgonzalez872 closed 4 years ago

pdgonzalez872 commented 4 years ago

This is not an issue with the lib, just a question about it:

Is the conversion from HEIC as clean as to png? Looks like ImageMagic supports the conversion, so I was wondering if folks here have had experience with it before.

image = open("input.heic") |> format("jpg") |> save

If the above "just works" it would be amazing.

Thanks for the lib!

route commented 4 years ago

@pdgonzalez872 It's all the same, make sure you compiled ImageMagick with HEIC support (HEIC requires the libheif delegate library) and the conversion should work.

pdgonzalez872 commented 4 years ago

Awesome! Thank you!

chrislaskey commented 1 year ago

A belated thank you @route for the help here, libheif is exactly what I needed to make this work 💯 🎉