Sponsored Content
Operating Systems OS X (Apple) 256 Color Support Removed in Leopard. Post 302171721 by c1996b2 on Friday 29th of February 2008 09:13:16 AM
Old 02-29-2008
256 Color Support Removed in Leopard.

I've recently 'upgraded' my Mac Pro to Leopard and in the process have killed a major piece of cross platform software (IDL) that I use in my work. Apparently, Leopard has disabled 256 color compatibility, while simultaneously leaving the option as ghosted teaser on the displays panel of system preferences. They even have a posting on this (answer 306773) that claims this is 'normal'.

Now, I don't actually want to set the global display to 256 colors, but my application works in X11, where I need the individual windows to open with 8-bit color depth. This was never a problem with Tiger (or Windows or Linux). So long as the OS supports 256 colors, the windows open fine under X. As things are now, when I open X in 256 color mode, I get blank white screens on the same machine where they were working fine on before the upgrade!

Does anyone know if this is going to be fixed or if there is a workaround that will enable me to use this program? I can't be the only one with specialized or legacy software that requires 8-bit color support. As it stands now, I'm pretty much frozen out of the Mac OS as a work computer unless I go back to Tiger. I'm in the process of getting a new set of computers for the group I'm in, and, if this isn't fixable, I'm probably going to have cancel my mac orders and switch to PCs instead.

Any ideas out there?
 

We Also Found This Discussion For You

1. UNIX for Dummies Questions & Answers

How to change the background color in the init 3 mode(not line color)

Hello, I am using RHEL 6.1 on VMware I am searching for a way to change background color (not line by line color wich one can using tput command) basically changing the color of the whole screen to white instead of the default black and changing font color to black and alos would like to... (2 Replies)
Discussion started by: Dexobox
2 Replies
Color::Library::Color(3pm)				User Contributed Perl Documentation				Color::Library::Color(3pm)

NAME
Color::Library::Color - Color entry for a Color::Library color dictionary METHODS
$id = $color->id Returns the id of the color A color id is in the format of <dictionary_id:color_name>, e.g. svg:aliceblue x11:bisque2 nbs-iscc-f:chromeyellow.66 vaccc:darkspringyellow $name = $color->name Returns the name of the color, e.g. aliceblue bisque2 chromeyellow darkspringyellow $title = $color->title Returns the title of the color, e.g. aliceblue bisque2 chrome yellow Dark Spring-Yellow $dictionary = $color->dictionary Returns the Color::Library::Dictionary object that the color belongs to $hex = $color->hex Returns the hex value of the color, e.g. ff08ff eed5b7 eaa221 669900 Note that $hex does NOT include the leading #, for that use $color->html, $color->css, or $color->svg $html = $color->html $css = $color->css $svg = $color->svg Returns the hex value of the color with a leading #, suitable for use in HTML, CSS, or SVG documents, e.g. #ff08ff #eed5b7 #eaa221 #669900 $value = $color->value Returns the numeric value of the color, e.g. 15792383 15652279 15376929 6723840 ($r, $g, $b) = $color->rgb Returns r, g, and b values of the color as a 3 element list (list context), e.g. (240, 248, 255) $rgb = $color->rgb Returns r, g, and b values of the color in a 3 element array (scalar context), e.g. [ 240, 248, 255 ] $color = Color::Library::Color->new( id => $id, name => $name, title => $title, value => $value ) $color = Color::Library::Color->new( { id => $id, name => $name, title => $title, value => $value } ) $color = Color::Library::Color->new( [[ $id, $name, $title, $rgb, $hex, $value ]] ) Returns a new Color::Library::Color object representing the specified color You probably don't want/need to call this yourself FUNCTIONS $hex = Color::Library::Color::rgb2hex( $rgb ) $hex = Color::Library::Color::rgb2hex( $r, $g, $b ) Converts an rgb value to its hex representation $value = Color::Library::Color::rgb2value( $rgb ) $value = Color::Library::Color::rgb2value( $r, $g, $b ) Converts an rgb value to its numeric representation $rgb = Color::Library::Color::value2rgb( $value ) ($r, $g, $b) = Color::Library::Color::value2rgb( $value ) Converts a numeric color value to its rgb representation ($r, $g, $b) = Color::Library::Color::parse_rgb_color( $hex ) ($r, $g, $b) = Color::Library::Color::parse_rgb_color( $value ) Makes a best effort to convert a hex or numeric color value to its rgb representation perl v5.14.2 2011-12-07 Color::Library::Color(3pm)
All times are GMT -4. The time now is 01:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy