JPG resolution and a violet-green tint

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
Jack_Brody
Posts: 5
Joined: Sun Mar 13, 2022 10:49 am

JPG resolution and a violet-green tint

Post by Jack_Brody »

Something is happening here that is probably related to the "Fit image to window, large only" setting and specific image dimensions. I have XnView MP 0.99.7 64bits on Windows 10 Pro 21H2.


On my secondary monitor (Samsung U28R550U 28") XnView displays jpegs 2010 x 1343 with weird violet-green tint and colored stripe on the right. See the screenshot - first attached image.

When I move the XnView window to my primary monitor EIZO FlexScan EV2457-BK 24" (using the shortcut Windows + SHIFT + right/left arrow) the colors display alright (but this monitor has lower resolution and the image gets resized to 76 %). No need for screenshot here since it is just a normal image filling up the entire XnView window.

So briefly:
1) first time opened on Samsung in 100 %: violet -> move to EIZO 76 %: colors normal -> move back to Samsung 100 %: violet again
2) first time opened on EIZO 76 %: normal -> move to Samsung 100 %: violet -> back to EIZO 76%: normal.

But once I manually zoom in or out on either monitor, I won't get the violet-green tint anymore no matter how many times I move the window.

So - the image ONLY appears distorted when freshly opened until zoomed in (or out).

Now: in XnView settings I changed View -> Auto image size to "No fit". No more violet-green (but the image is in 100 % zoom on both).

Another observation: when I resize the image (from source) to slightly different size - 2010 x 1340 and open it in XnView - the issue is gone. Interesting.


I am attaching both images - the good one and the bad one.

PS: I should probably also note that my monitors have different scaling - the EIZO (FullHD) is on 100 % and the Samsung (8K) has 175 % (otherwise everything would be just microscopic). Not sure if this adds up to the issue.
Attachments
screenshot_violet_tint.jpg
this one gets the peculiar tint when opened in XnView
this one gets the peculiar tint when opened in XnView
this resolution causes no problems
this resolution causes no problems
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: JPG resolution and a violet-green tint

Post by xnview »

i can't reproduce, which settings>View do you have?
Pierre.
Jack_Brody
Posts: 5
Joined: Sun Mar 13, 2022 10:49 am

Re: JPG resolution and a violet-green tint

Post by Jack_Brody »

Here.

EDIT: I downloaded and opened in XnView the second attached image (the one that gets distorted) to make sure it was not modified during upload. It was not, the downloaded file works as expected - violet-green.

EDIT 2: I just figured out an interesting fact. While having opened the distorted image on my Samsung monitor with 175 % scale, I changed its scale to 100 %. The colors reverted to normal. Then I put back the 175 % scale - voilá, again the violet-green tinted image. I took screenshot of both conditions.

So this behavior depends on monitor scale... but why for God's sake?
Attachments
Settings -> View
Settings -> View
175 % scaling
175 % scaling
100 % scaling
100 % scaling
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: JPG resolution and a violet-green tint

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
Jack_Brody
Posts: 5
Joined: Sun Mar 13, 2022 10:49 am

Re: JPG resolution and a violet-green tint

Post by Jack_Brody »

That is great to hear. :)
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: JPG resolution and a violet-green tint

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.00 beta. Please check and confirm the bug fix here.
Pierre.
Jack_Brody
Posts: 5
Joined: Sun Mar 13, 2022 10:49 am

Re: JPG resolution and a violet-green tint

Post by Jack_Brody »

I downloaded the ZIP file with 1.00 beta 1 and opened the same file with the new version and with the older 0.99.7 at the same time (on my 175% scaled Samsung).

I am happy to confirm that the weird color issue is fixed in the new beta. :)

Thank you very much!
Post Reply