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?

  • Can you verify if you see the same behavior in Craft 2?
    – Brad Bell
    May 18 '17 at 21:32

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.