1

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?

2

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:

1

As B00MER identified, this is an issue with the GD2 library. Thanks to the below links, I found another solution which doesn't require any Magento/library changes.

All of these are dependent on OSX, it might be more difficult to do without access to a mac.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.