Ask A Question

Notifications

You’re not receiving notifications from this thread.

How can I upload HEIC format images?

William Jones asked in Gems / Libraries

My rails app can upload JPEG and PNG images, but HEIC images cause an error. I am using Carrierwave and Mini Magick. I included HEIC in the whitelist of image formats but it didn't work. Any help with this would be great.

Reply

I believe you need to compile imagemagick with heic support. It doesn't always come out of the box (sometimes because of licensing issues).

Reply

Thanks for the reply. I followed the instructions in https://gist.github.com/rjnienaber/af47fccb8410926ba7ea35f96c3b87fd to recompile imagemagick with heic. Unfortunately the problem has not been resolved. Do you have any ideas about how to proceed?

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,946+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.