<p>Got the same problem with Craft3 (3.0.0-beta.19). Had to change the imageDriver to GD.</p>

<p>Add <code>'imageDriver' =&gt; 'gd',</code> to <code>config/general.php</code> and replace/reupload the files in Craft.</p>

CC BY-SA 3.0
2017-06-14T12:30:05.670Z
2017-06-14T12:30:05.670Z
Tobias
<p>Uploading PDFs to Craft3 with Imagick extension enabled seems to rasterize and compress the PDFs. </p>

<p>Also, if I manually swap out the files after upload, it works fine until I have to edit something in an article with a pdf uploaded. Then the behavior is repeated when I press save. </p>

<p>Any idea on where to disable this behavior?</p>

CC BY-SA 3.0
2017-05-18T21:32:48.473Z
Can you verify if you see the same behavior in Craft 2?
Brad Bell
<assets><upload><pdf><imagick>
Uploading PDFs with Imagick extension enabled seems to rasterize and compress the PDFs
# Uploading PDFs with Imagick extension enabled seems to rasterize and compress the PDFs

(Asked by: username_0 on 2017-05-18)

Uploading PDFs to Craft3 with Imagick extension enabled seems to rasterize and compress the PDFs.

Also, if I manually swap out the files after upload, it works fine until I have to edit something in an article with a pdf uploaded. Then the behavior is repeated when I press save.

Any idea on where to disable this behavior?

**Tags:** assets, upload, pdf, imagick
> **Comments:**
> **username_1**: Can you verify if you see the same behavior in Craft 2?  

---

## 1 answers

### Answer by username_2 on 2017-06-14. Score: 1

Got the same problem with Craft3 (3.0.0-beta.19). Had to change the imageDriver to GD.

Add `'imageDriver' => 'gd',` to `config/general.php` and replace/reupload the files in Craft.


---

