Google Answers Logo
View Question
 
Q: Linux, Unix graphics ( No Answer,   1 Comment )
Question  
Subject: Linux, Unix graphics
Category: Computers > Graphics
Asked by: ambal007-ga
List Price: $2.00
Posted: 09 Oct 2006 11:58 PDT
Expires: 08 Nov 2006 10:58 PST
Question ID: 772035
From: "Valeri" <ambal007@netzero.net>

I have graphical software to vizualise data (C++,Motif,XLib).
It runs on Linux, Unix. When I run it on
32 bit machine laptop (Linux) and 64 bit machine (SGI,IRIX),
colors looks different.
How to make colors same? 
Maybe it depends from
Monitor, Vide Card or other hardware
and this is not software issue?

Request for Question Clarification by maniac-ga on 10 Oct 2006 11:34 PDT
Hello Ambal007,

There could be several causes including:
 - color depth (e.g., 8 bpp vs. 24 or higher)
 - the "temperature" of the display and video interface
 - how the colors are rendered / use (or lack of use) of a color
management system such as PEX
Can you describe how the colors are different? That information will
be needed to isolate the possible cause and/or solution.

  --Maniac

Clarification of Question by ambal007-ga on 10 Oct 2006 12:30 PDT
ambal007@netzero.net
Dear Maniac.
Background window color changes from gray to white: 32 to 64bit,
Data graph colors are less intensive on 32 bit
versus 64 bit Linux machine.
Can I correct this problem by SOFTWARE ONLY:
for example by loading some color map (to XLIB,MOTIF?)
from my file, so result will not
depend from machine type OR it is
HARDWARE ONLY problem (I don't know
anything here).
Thank you.
Valeri

Request for Question Clarification by maniac-ga on 11 Oct 2006 09:07 PDT
Hello Ambal007,

The background color can change for a number of reasons. From the
Motif Programmer's Reference at
  http://www.opengroup.org/openmotif/docs/m213.pdf
it states in part that the user and application should control the
appearance (including background and foreground colors) ... of a
client. The application should provide defaults, but the user may
specify alternative values. For example, most X applications support
the command line argument
 -background (color)
to set the background color. The window manager you use may also
provide a "default" color as well. See also section 12.1.2 of the
manual above where it indicates the default for background color is
"implementation dependent" or a value that may vary by OS, window
manager, or X / Motif implementation.

If it is critical for your application to have a specific background
color - you need to revise your application to set that color (by
resource or other means). See also section 12.2 for methods to do
this.

That some of the colors are "less intensive" is most often caused by
hardware differences. For example, there is a brief summary at
  http://www.math.utah.edu/faq/color/color.html#FAQ-4
which describes variation between displays. There is a brief
explanation of color calibration at
  http://en.wikipedia.org/wiki/Color_calibration
which also includes links to other resources.

  --Maniac
Answer  
There is no answer at this time.

Comments  
Subject: Re: Linux, Unix graphics
From: ssvl-ga on 20 Oct 2006 00:52 PDT
 
will you checked the resolution and colour support

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy