<p>We needed to use Imagick so that our users could upload <code>.bmp</code> files to Craft - this works fine, however we noticed this directly stops users downloading PDFs orders from the website and a server errors gets applied.</p>

<p>Has anyone had any similar issues or advice on how to remedy?</p>

<p>Here is our original issue with <code>.bmp</code> files: <a href="https://craftcms.stackexchange.com/questions/15830/error-uploading-bmp-file-format-gets-rejected">Error uploading .bmp file format - gets rejected</a></p>

CC BY-SA 3.0
2016-09-22T23:29:34.143Z
When you installed Imagick, did you uninstall GD?  Looks like dompdf (the library Commerce uses to generate PDF files) has an explicit requirement for GD: https://github.com/dompdf/dompdf/blob/master/composer.json#L29
Brad Bell
CC BY-SA 3.0
2016-09-23T09:54:17.860Z
GD is installed and PDF downloads work fine when we disable Imagick. Somehow there is a conflict.
Dan Lee
CC BY-SA 3.0
2016-09-23T23:58:14.870Z
Maybe try updating your GD/Imagick versions? Just did a test locally with both installed and not have any issues, but they are pretty recent versions.
Brad Bell
CC BY-SA 3.0
2016-10-03T14:27:20.510Z
Hi Brad, we are still having issues with this. What versions are you running on just so we can compare our side?
Dan Lee
CC BY-SA 3.0
2016-10-03T23:51:49.173Z
Imagick Module 3.1.2, ImageMagick 6.8.9-7 Q16 x86_64 2015-07-06 and GD 2.1.0.
Brad Bell
<plugin-craftcommerce><pdf>
Craft Commerce: Imagick stops PDF order downloads
# Craft Commerce: Imagick stops PDF order downloads

(Asked by: username_0 on 2016-09-22)

We needed to use Imagick so that our users could upload `.bmp` files to Craft - this works fine, however we noticed this directly stops users downloading PDFs orders from the website and a server errors gets applied.

Has anyone had any similar issues or advice on how to remedy?

Here is our original issue with `.bmp` files: [Error uploading .bmp file format - gets rejected](https://craftcms.stackexchange.com/questions/15830/error-uploading-bmp-file-format-gets-rejected)

**Tags:** plugin-craftcommerce, pdf

> **Comments:**
> **username_1**: When you installed Imagick, did you uninstall GD?  Looks like dompdf (the library Commerce uses to generate PDF files) has an explicit requirement for GD: https://github.com/dompdf/dompdf/blob/master/composer.json#L29  
> **username_0**: GD is installed and PDF downloads work fine when we disable Imagick. Somehow there is a conflict.  
> **username_1**: Maybe try updating your GD/Imagick versions? Just did a test locally with both installed and not have any issues, but they are pretty recent versions.  
> **username_0**: Hi Brad, we are still having issues with this. What versions are you running on just so we can compare our side?  
> **username_1**: Imagick Module 3.1.2, ImageMagick 6.8.9-7 Q16 x86_64 2015-07-06 and GD 2.1.0.  

---

## 0 answers

