Image colors changing on resize (6 posts)

  1. Eric Pitcock
    Posted 4 years ago #

    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?

  2. Shaun Brown
    Posted 4 years ago #

    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?

  3. Fyn
    Posted 4 years ago #

    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 :)

  4. Benn Brown
    Posted 3 years ago #

    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.

  5. Benn Brown
    Posted 3 years ago #

  6. Fyn
    Posted 3 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic