Wrong colour info for CMYK images

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
Troken
Posts: 697
Joined: Thu Feb 09, 2006 10:18 am
Location: Sweden

Wrong colour info for CMYK images

Post by Troken »

Hi again,

an odd behaviour: when using "display colour information" while viewing a CMYK image, it displays RGB values. Can it be changed so correct CMYK values are shown instead?
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Wrong colour info for CMYK images

Post by xnview »

Troken wrote:Hi again,

an odd behaviour: when using "display colour information" while viewing a CMYK image, it displays RGB values. Can it be changed so correct CMYK values are shown instead?
No sorry, the CMYK is converted in RGB space
Pierre.
Trashbag97

CMYK

Post by Trashbag97 »

Will there ever be a true display of CMYK color or will it always convert to RGB?
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: CMYK

Post by xnview »

Trashbag97 wrote:Will there ever be a true display of CMYK color or will it always convert to RGB?
Always converted in RGB...
Pierre.
User avatar
Troken
Posts: 697
Joined: Thu Feb 09, 2006 10:18 am
Location: Sweden

Post by Troken »

Maybe you should turn the "display colour information" for non-RBG images? Or state message "N/A – non-RGB image" or something.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

An INI flag ?

Post by Clo »

:arrow: Troken

• I agree, and I guess that it could be optional in the INI like :
[View]
ColorInfo= Flag
Image0 : Default. Works only for the current viewed image when you tick the box in the “View” menu.
Image1 : Works also for the previous¦next file to view.
Image2 : Permanent as soon as the box is ticked in the “View” menu. Saved through the sessions.
Image4 : (Added) Displays a warning when the image is CMYK, or any “exotic” colour mode.
:mrgreen: KR
Claude
Clo
Last edited by Clo on Thu Sep 27, 2007 6:13 pm, edited 1 time in total.
Old user ON SELECTIVE STRIKE till further notice
User avatar
ouistiti
Posts: 353
Joined: Mon Oct 25, 2004 7:28 pm
Location: Belgique
Contact:

Post by ouistiti »

:arrow: :arrow: Troken & Clo

Very nice suggestion, I fully support ! :D

Friendly

Paul
L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
User avatar
Troken
Posts: 697
Joined: Thu Feb 09, 2006 10:18 am
Location: Sweden

Post by Troken »

Just a note before going deepter into this :wink:

If CMYK images are handled differently, other cases should be taken into consideration – for instance Lab-colour space, PDF, AI, EPS etc. and other images that are not displayed "in their true form". To add some confusion, some AIs and PDFs can mix RGB, CMYK, greyscale and bitmap objects.

Transparency/alpha/greyscale/bitmap
I checked and Im glad that transparency/alpha and greyscale/bitmap seems to be displayed correct.

My opinion is simply that "display colour information" should only work for images that are displayed correctly, but not be available for other images.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

And the rest ?

Post by Clo »

—> Troken

:) Hello !
My opinion is simply that "display colour information" should only work for images that are displayed correctly,
but not be available for other images.
• Doing so, we'll be deprived of the rest, I mean : The coordinates that I need the most times…
- Hence, I would prefer the message, still…
• However, another flag could disable the display when the image is not correct, for instance :

Image8 :  (Added) Doesn't display “Colour Information” when the image is not RGB.
:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
Troken
Posts: 697
Joined: Thu Feb 09, 2006 10:18 am
Location: Sweden

Re: And the rest ?

Post by Troken »

Hi Claude.
Clo wrote:• Doing so, we'll be deprived of the rest, I mean : The coordinates that I need the most times…
Ah, thats not good of course, I did not think of that aspect.
• However, another flag could disable the display when the image is not correct, for instance :
...

I do not know how to solve it in the programming (flags?). And with all the complexity to the subject, I can't start to think that maybe this whole issue is overkill for now, but it is just a little funny with RGB-values for a CMYK image.

Or is it so that XnView has grown so much that features like this needs a serious update/total makeover? In that case, it would probably not be necessary in the near future.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Pennants…

Post by Clo »

—> Troken

:) Hello !

• Here, "Flag" is not to understand as its progamming meaning, but simply as the numerical values highlited by the small pennant-bullets I like to use in the Manuals - and here also, because it's cute, isn't it ? :D
• In brief, just adding "4" or "8" to the chosen current existing basic value : 0 -1 - 2 could
solve all cases, and doesn't seem very hard to realize…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Post Reply