<p>Try adding this option to your <a href="https://craftcms.com/docs/config-settings" rel="nofollow">config file</a> (<code>craft/config/general.php</code>)</p>

<p><code>'preserveImageColorProfiles' =&gt; true</code></p>

CC BY-SA 3.0
2016-06-13T15:23:21.320Z
That's the ticket! Thanks for pointing that out. I had tried it earlier with no change. I now realise Cloudflare was serving up old images
Fyrebase
CC BY-SA 3.0
2016-06-13T15:10:11.750Z
2016-06-13T15:10:11.750Z
Luke Pearce
<p>Is there a workaround when using Craft with old versions of ImageMagick to prevent transformed images from being darker than the original?</p>

<p>I had a look within the Imagine code base and couldn't see a easy fix.</p>

<p>Unfortunately I'm stuck with ImageMagick 6.7.2-7 on shared hosting with no upgrade path.</p>

<image-transforms>
ImageMagick generates dark images
# ImageMagick generates dark images

(Asked by: username_0 on 2016-06-13)

Is there a workaround when using Craft with old versions of ImageMagick to prevent transformed images from being darker than the original?

I had a look within the Imagine code base and couldn't see a easy fix.

Unfortunately I'm stuck with ImageMagick 6.7.2-7 on shared hosting with no upgrade path.

**Tags:** image-transforms

---

## 1 answers

### Answer by username_1 on 2016-06-13. Score: 2 | Accepted answer

Try adding this option to your [config file](https://craftcms.com/docs/config-settings) (`craft/config/general.php`)

`'preserveImageColorProfiles' => true`

> **Comments:**
> **username_0**: That's the ticket! Thanks for pointing that out. I had tried it earlier with no change. I now realise Cloudflare was serving up old images  

---

