Wrong colors: 32bpp jpg gets interpreted as 24bpp

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, xnview

sirtet
Posts: 8
Joined: Mon Feb 13, 2012 11:54 am

Wrong colors: 32bpp jpg gets interpreted as 24bpp

Postby sirtet » Wed May 13, 2015 4:40 pm

This JPG image is shown in XnView with a greenish label, where the real bottle is grey...

System Preview on win7 64bit shows the colors correctly.
The system info says it's a 32bpp image, xnview (2.32 AND MP 0.72) see a 24bit image, and distort the colors. See screenshots:

win-preview-32bit-jpg.jpg


xnview-32bit-jpg.jpg


And the offending file here:
McNett-mirazyme.jpg

Interestingly, chrome, FF, Opera AND IE also render a greenish label...

User avatar
XnTriq
Moderator & Librarian
Posts: 5006
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Wrong colors: 32bpp jpg gets interpreted as 24bpp

Postby XnTriq » Wed May 13, 2015 5:00 pm

You have to activate Use ICC Embedded Profile (JPEG/TIFF) - Very slow in Tools » Options... » General » ICC.
XnView will tell you that “This picture will be converted to RGB with 8bits per component.”

sirtet
Posts: 8
Joined: Mon Feb 13, 2012 11:54 am

Re: Wrong colors: 32bpp jpg gets interpreted as 24bpp

Postby sirtet » Thu May 21, 2015 3:49 pm

Thanks, yes.
But since this is something rather obscure to most users, couldn't / shouldn't xnview at least inform the user that he'd need to switch to a different type of displaying?
It's really easy to oversee in some pictures.

If it would be a performance drawback, there should be at least a hint that the image is/may be displaying incorrect.
I think correctness still goes over speed for most users...
If windows can do it, so should xnview...

maybe xnview could first load with it's own profile for speed, and then while displaying check if the embedded profile is different?

User avatar
XnTriq
Moderator & Librarian
Posts: 5006
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Wrong colors: 32bpp jpg gets interpreted as 24bpp

Postby XnTriq » Thu May 21, 2015 9:30 pm

Has ICC profile (Tools » Options... » Thumbnails » Icon info » File info) is activated by default. This tells XnView's browser to display a small icon next to the thumbnail if an image contains a profile.

sirtet
Posts: 8
Joined: Mon Feb 13, 2012 11:54 am

Re: Wrong colors: 32bpp jpg gets interpreted as 24bpp

Postby sirtet » Fri Apr 01, 2016 1:45 pm

XnTriq wrote:Has ICC profile (Tools » Options... » Thumbnails » Icon info » File info) is activated by default. This tells XnView's browser to display a small icon next to the thumbnail if an image contains a profile.


Ok, but directly opening the image, i get no clue that there is an embedded profile, currently not used by the viewer, and that this makes the image display incorrectly.
I still think XnView should give a warning at least.
Can this be moved to the bugs forum, or does it need to be reposted there?

User avatar
xnview
Author of XnView
Posts: 27670
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Wrong colors: 32bpp jpg gets interpreted as 24bpp

Postby xnview » Fri Apr 01, 2016 2:17 pm

it's not a bug, by default CMYK are converted in RGB, but if you have an ICC profile, it must be used
Pierre.

raauw
Posts: 4
Joined: Wed Apr 20, 2016 12:18 pm

Re: Wrong colors: 32bpp jpg gets interpreted as 24bpp

Postby raauw » Wed Apr 20, 2016 12:44 pm

Hi guys. I've got a similar problem. Or so I think. When I've got a cmyk .jpg. Xnconvert converts some colors to a fluo kind color. it's way to saturated. How do I fix this? I've been cruising this forum for a good half an hour now and am afraid it's just too much to comprehend. Image.
For the moment I fix these pictures by running them through PS and 'saving for web' before I rerun them through Xnconvert.
offcourse it would be much easier if this could be implemented in XNconvert. Is this something ICC could fix? But since I'm pretty sure the default is saving files as "sRGB" I think this is what we're looking for anyways? So my guess is there's something wrong with the way XNconvert converts colors to "sRGB" and PS is doing this right and so when I first run them through PS, XNconvert doesn't need to convert to "sRGB"? I'm lost. Could you guys help me or give me a tip?

User avatar
xnview
Author of XnView
Posts: 27670
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Wrong colors: 32bpp jpg gets interpreted as 24bpp

Postby xnview » Wed Apr 20, 2016 1:18 pm

could you post the original picture?
Pierre.

raauw
Posts: 4
Joined: Wed Apr 20, 2016 12:18 pm

Re: Wrong colors: 32bpp jpg gets interpreted as 24bpp

Postby raauw » Wed Apr 20, 2016 2:56 pm

Yes...
https://drive.google.com/open?id=0B_3EiQDCYltIczVqTGtxdTFzZU0
This should be it.

Photoshop tells me at image/mode it's cmyk color, 8 bits channel

in XNconvert my action is. adjust size. Mode longest side; 550 pixels; only make smaller; lanczos.

output
JPG - JPEG / JFIF
save metadata.

Sorry if some translations aren't quite up to scratch on the technical things. I hope you can reproduce my problem never the less.

Thanks for the quick reply.

I just noticed Tinypic has the same color problem :D as you might see via the following link http://i67.tinypic.com/2elz8sw.jpg

User avatar
xnview
Author of XnView
Posts: 27670
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Wrong colors: 32bpp jpg gets interpreted as 24bpp

Postby xnview » Thu Apr 21, 2016 6:51 am


ok, i'll check...
Pierre.

raauw
Posts: 4
Joined: Wed Apr 20, 2016 12:18 pm

Re: Wrong colors: 32bpp jpg gets interpreted as 24bpp

Postby raauw » Thu Apr 21, 2016 7:17 am

thanks!

User avatar
xnview
Author of XnView
Posts: 27670
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Wrong colors: 32bpp jpg gets interpreted as 24bpp

Postby xnview » Wed Apr 12, 2017 12:45 pm

raauw wrote:thanks!

To be able to convert correctly this CMYK image, you need to use a CMYK default color profile like this one
cmyk.zip
(408.33 KiB) Downloaded 41 times
Pierre.

User avatar
XnTriq
Moderator & Librarian
Posts: 5006
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Wrong colors: 32bpp jpg gets interpreted as 24bpp

Postby XnTriq » Sat Apr 22, 2017 11:30 am

xnview wrote:To be able to convert correctly this CMYK image, you need to use a CMYK default color profile like this one
Image cmyk.zip

Works as expected in XnView v2.40 (Little CMS v2.8) =D



Return to “Classic - General Support”

Who is online

Users browsing this forum: No registered users and 2 guests