Image transform is turning my jpegs dark I'm experiencing a strange effect where an image transform is causing my images to turn very dark when compared to their originals. I have ImageMagick and gd installed. The images are all sRGB. Some have Adobe RGB profiles, some have no profiles.

The image transform makes the jpeg 1200px wide, height auto, quality high. Not sure what could be causing the problem.
Setting 'preserveImageColorProfiles' => true, in craft/config/general.php solved the problem.

https://craftcms.com/docs/config-settings#preserveImageColorProfiles

Note that you need to be running at least Craft 2.6.2778 for this config setting to work.