Test failure on HEIC image detection

It seems like my local ImageMagick doesn’t know how to decode HEIC, and this is throwing an error in the test for ImageMagick recognizing that it’s actually a JPEG.

$ identify spec/fixtures/images/should_be_jpeg.heic 
identify-im6.q16: no decode delegate for this image format `HEIC' @ error/constitute.c/ReadImage/560.

I’m on 20.04.2 LTS focal, what do I need to update?

1 Like

You can run discourse_docker/install-imagemagick at master · discourse/discourse_docker · GitHub to get a working ImageMagick.