Support » Fixing WordPress » Image colors changing on resize

  • I have custom image sizes for thumb, medium and large (Media Settings). Large is the same as the original size, so WordPress does nothing to it, as it should. However, when the thumb and medium sizes are created, there are unexpected and unwanted color changes, most importantly, my pure white (255, 255, 255) is being changed to something like 251, 253, 251. That might not seem like a big deal, but these images are for my design portfolio, so color is very important. On top of that, the compression sort of sucks too.

    Can I simply turn off image compression and just have WP scale the images?

    Things to consider:

    • I’m uploading images via WordPress’ uploader.
    • I’ve tried this on 3.0.4 and 3.1.1 with the same results.
    • These images are all PNGs

    I can’t figure this out. Obviously I can scale these images myself in Photoshop, but that doesn’t sound fun.

    Any help?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Same issue here. From what I found the only solution is to use a plugin, but Id like to avoid that if at all possible. Any way to simply not apply any compression just as Eric mentioned?

    I got the same problem and posted an entry here:

    Maybe someone finds or has an answere to this.

    @shaun Brown
    What plugin could I use to fix this? Because using a plugin would at least be an better option than resizing all images and upload them again and also I would have to upload them again in another size if I have a wider content any time soon. So if you know a plugin it would be very helpful ๐Ÿ™‚

    I have the same problem but only on certain images. The majority come out fine when I use the editor. I have the same problem on certain images with my website as well. I am not familiar with HTML and would appreciate any tips people may have for the layman to avoid this!

    Have a look at this link and look at the 5th image from the top. The original was much warmer and now it much greener than I would like.

    Well, my problem has been solved. I read the answer many times before but somehow I thought I wasn’t affected by that.
    Anyhow the key to problems with the color is the image color space. If you shoot your pictures in RAW you’ll get images with the AdobeRGB color space. But the standard color space from most browsers is sRGB. So you have to convert your AdobeRBG image into a sRGB image.

    If you use Photoshop it’s simple. You just have to go to Edit ยป Convert to Profile und choose it from the list if it isn’t already chosen – that’s all.

    Newer Photoshop versions also show an alert if you open the image and ask if you want to change the color space. But I guess it’s best if you first treat your image and then change the color space, because the AdobeRGB has more colors available.

    So it’d be best if you really check if your images have the right color space. Good luck!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Image colors changing on resize’ is closed to new replies.