Admin Image – Fix Color Shift After Uploading to Magento

adminimage

We have a client is complaining they are getting a color shift when uploading an image. If we don't have anything modifying images in the admin section, what could be affecting colors after image upload?

Best Answer

My guess is they are using Mac/Firefox and have sRGB profiles embedded within their images.

Magento requires the GD2 library be installed prior to installation. Most all "Image" facilities will get pushed through it for resizing, thumbnail generation, etc.

The alternative is ImageMagick as it tends to have better quality results, however processing time may be greatly increased. Not to mention cranking up quality means slower download times on the client end as well.

A drop-in replacement (ImageMagick adapter) for Magento:

You can also try and increase the quality with ->setQuality(90) in any calls to the images to see if it helps, but I'm going to assume the color profiles is the source of the issues, and possibly GD2's library.

A few questions: What file types are they using, and what color profiles if any? Also, a version of GD2 may help as well. You should be able to find this in phpinfo();

Hope this helps...

Some further reading:

Related Topic