<blockquote>
  <p>There is a way to get Craft uploading my pixel-perfect images without re-save them?</p>
</blockquote>

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

<p>If you want to continue uploading from the control panel make sure that you're using <a href="https://secure.php.net/manual/en/book.imagick.php" rel="nofollow">Imagick</a> instead of <a href="https://secure.php.net/manual/en/book.image.php" rel="nofollow">GD</a>.</p>

<p>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 <a href="http://buildwithcraft.com/docs/config-settings#imageDriver" rel="nofollow">imageDriver</a> config setting.</p>

CC BY-SA 4.0
2019-03-18T19:43:24.900Z
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.
Laurence Cope
CC BY-SA 3.0
2015-08-11T20:07:15.140Z
2015-08-13T17:24:03.877Z
2015-08-13T17:24:03.877Z
Brad Bell
<p>The images I upload to Craft lose their quality :(</p>

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

<p>I read this on another question:</p>

<blockquote>
  <p>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.</p>
</blockquote>

<p><br>
<strong>There is a way to get Craft uploading my pixel-perfect images without re-save them?</strong>
<br>
<br>
<br>
<br>
An example of the problem:</p>

<p><a href="https://i.sstatic.net/XKbNn.png" rel="noreferrer"><img src="https://i.sstatic.net/XKbNn.png" alt="An example of the problem"></a></p>

CC BY-SA 3.0
2015-08-11T19:52:43.967Z
Do you have the [ImageMagick Extension](https://buildwithcraft.com/docs/requirements#optional-php-extensions) installed?
Lindsey D
<assets><image>
Images lose quality when I upload to Craft
# Images lose quality when I upload to Craft

(Asked by: username_0 on 2015-08-11)

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](https://i.sstatic.net/XKbNn.png)](https://i.sstatic.net/XKbNn.png)

**Tags:** assets, image

> **Comments:**
> **username_1**: Do you have the [ImageMagick Extension](https://buildwithcraft.com/docs/requirements#optional-php-extensions) installed?  

---

## 1 answers

### Answer by username_2 on 2015-08-11. Score: 4 | Accepted answer

> 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](https://secure.php.net/manual/en/book.imagick.php) instead of [GD](https://secure.php.net/manual/en/book.image.php).

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](http://buildwithcraft.com/docs/config-settings#imageDriver) config setting.

> **Comments:**
> **username_3**: 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.  

---

