Resize Filter causes image to shift color (more contrast)

Issue #1205 closed
fireattack created an issue

When Resize Filter is enabled, the color of the image changes.

Below is an example.

The image is a pure 128,128,128 grey image.

After enabling Resize Filter, image becomes 136,136,136:

It doesn’t matter which interpolation I use, they all cause this issue.

Comments (10)

  1. Tttt

    Does your image contain an ICC profile? If it does I think we are having the same problem.

    ICC profile colors seem to be ignored if resize filter is on.

    Example image (download and open it in NeeView):

    I did some testing and tried enabling susie’s ifjpeg plugin. The problem doesn't exist with susie as it probably applies the ICC profile to the image before sending it to NeeView.

  2. fireattack reporter

    Nope, my image don’t have ICC.

    But I can only reproduce this bug with greyscale (i.e. 1 channel only, 8bit in total) image (bmp, jpg, or png), just like the one you posted.

    Below is another one I used.

  3. Ito Mitsuhiro repo owner

    When I tried it, I confirmed this phenomenon on Windows7.
    It could not be reproduced on Windows10.

    Is your environment also Windows7?

  4. Ito Mitsuhiro repo owner

    MagicScaler を 13.0 に更新。 これによりリサイズフィルター適用時に明るさが変化する問題が解消されました。 (fixed #1205)

    → <<cset eb7a9e9b0727>>

  5. Log in to comment