# Test failure on HEIC image detection

**URL:** https://meta.discourse.org/t/test-failure-on-heic-image-detection/193585
**Category:** Development
**Created:** [June 11, 2021, 9:31pm UTC](https://meta.discourse.org/t/test-failure-on-heic-image-detection/193585 "2021-06-11T21:31:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [June 11, 2021, 9:31pm UTC](https://meta.discourse.org/t/test-failure-on-heic-image-detection/193585/1 "2021-06-11T21:31:06Z")

</div>

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.

```plaintext
$ 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?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [June 11, 2021, 10:13pm UTC](https://meta.discourse.org/t/test-failure-on-heic-image-detection/193585/2 "2021-06-11T22:13:41Z")

</div>

You can run [discourse\_docker/image/base/install-imagemagick at master · discourse/discourse\_docker · GitHub](https://github.com/discourse/discourse_docker/blob/master/image/base/install-imagemagick) to get a working ImageMagick.
