Re: pseudocolor in x11 for macos 10.3
Re: pseudocolor in x11 for macos 10.3
- Subject: Re: pseudocolor in x11 for macos 10.3
- From: Keith Esau <email@hidden>
- Date: Thu, 22 Jan 2004 16:12:14 -0600
On 01/22/2004 10:49 AM, "matt shultz" <email@hidden> wrote:
> I've read the archives and searched the web, and the reality of the
> situation seems to be that the x11 for 10.3 does NOT support a psuedocolor
> buffer. Can some please explain to me the rationale for this? I am
> really frustrated by this developement, and it seems really alienating to
> developers in general.
Mac is not the only platform with this problem. Sun and HP have it too if
the display is set to 24 or 32 bit color. Exceed also has this problem if
the colors are set to 16-bit or higher.
Have you tried setting your Mac display to 256 colors (before launching
X11)?
> I work on a medical visualization program and have been for the past year
> enthusiastically recommending (and doing the work for) a port of the
> program to the osX system. Originally written long ago for Unix, the
> program runs on a variety of systems, Windows being the main system where
> we use Exceed (which incidentally DOES support a pseudocolor visual).
> I went ahead and upgraded to macos 10.3, excited about the fullscreen mode
> of x11 as well as other bug fixes, only to discover that the program
> cannot be run.. Unless someone has a quick fix for our absoluted need for
> a pseudocolor visual, rewriting the application to run in TrueColor is non
> trivial. It's looking now like development on the Macintosh system will
> be shelved in favor of the windows and Exceed.
You shouldn't need to rewrite the entire application. You should only need a
color translation routine to take your PseudoColor maps and display them on
a TrueColor display.
> Why was it necessary to do this? Am I the only one out there who is upset
> by this?
Personally, I hate 8-bit displays. I would rather have TrueColor.
The necessity is usually set by the user. If you display Thousands (16-bit)
or Millions (24-bit) of colors, you get DirectColor. If you set your display
to 256 colors, you SHOULD get PseudoColor. However, Xlib makes it clear that
the application has no control over the color model that it will get.
Keith Esau
email@hidden
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.