5

The images I upload to Craft lose their quality :(

Without applying any transformation, the original file is blurred and has a smaller size.

I read this on another question:

Currently the images are being cleansed on upload, which means that they are being re-saved to make sure that no malicious code is injected in them.


There is a way to get Craft uploading my pixel-perfect images without re-save them?



An example of the problem:

An example of the problem

1

1 Answer 1

4

There is a way to get Craft uploading my pixel-perfect images without re-save them?

You can upload via FTP and then run the Update Asset Indexes tool from the Settings page in the control panel.

If you want to continue uploading from the control panel make sure that you're using Imagick instead of GD.

Craft will use Imagick if it is available to PHP by default or you can force Craft to use one or the other via the imageDriver config setting.

1
  • Would this still be applicable to Craft 3? And any alternative to using Imagick? Can;t we just stop Craft editing images, I am having very bad loss of quality on a JPG. Mar 18, 2019 at 19:43

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.