<p>It is necessary to add the following lines to your config</p>

<pre><code>'preserveImageColorProfiles' =&gt; true,
'preserveCmykColorspace' =&gt; true
</code></pre>

<p>This will ensure that the image colours are retained when imported to Assets. You should also ensure that the images are converted to RGB for output. I do this with the Imager plugin and specify the image should be converted to RGB in my transform options.</p>

<p>Also, ensure that you are using ImageMagick for any transformations by installing it on your server and adding the following to your config.</p>

<pre><code>'imageDriver' =&gt; 'imagick',
</code></pre>

CC BY-SA 4.0
2018-07-17T14:45:09.810Z
To add to this, the two settings will have _no_ effect if you're not using Imagick.
Andris Sevcenko
CC BY-SA 4.0
2018-07-17T09:12:04.457Z
2018-07-17T09:12:04.457Z
foamcow
<p>When importing CMYK images into Assets the colour of the image can be shifted dramatically. Often giving a washed out look.</p>

<p>How can I prevent this and ensure the image colours are as accurate as possible?</p>

<assets>
How can I prevent CMYK image colours being shifted when importing into Assets?
# How can I prevent CMYK image colours being shifted when importing into Assets?

(Asked by: username_0 on 2018-07-17)

When importing CMYK images into Assets the colour of the image can be shifted dramatically. Often giving a washed out look.

How can I prevent this and ensure the image colours are as accurate as possible?

**Tags:** assets

---

## 1 answers

### Answer by username_0 on 2018-07-17. Score: 2

It is necessary to add the following lines to your config
'preserveImageColorProfiles' => true,
'preserveCmykColorspace' => true

This will ensure that the image colours are retained when imported to Assets. You should also ensure that the images are converted to RGB for output. I do this with the Imager plugin and specify the image should be converted to RGB in my transform options.
Also, ensure that you are using ImageMagick for any transformations by installing it on your server and adding the following to your config.
'imageDriver' => 'imagick',

> **Comments:**
> **username_1**: To add to this, the two settings will have _no_ effect if you're not using Imagick.  

---

