[comp.sys.mac] Changing Mac II System CLUT

thomas@eleazar.dartmouth.edu (Thomas Summerall) (11/30/88)

Programs that allow one to change the background screen to graphic images are
great IF that image has colors which are reasonably close to the system CLUT.

This breaks down when the pictures have subtle coloring like fleshtones...

So my question is...how does one change the system CLUT so that it is in
agreement with a given background picture.  I haven't seen any background
screen programs which do this and there probably aren't any because such a
process violates the way color is supposed to be implemented as written
in the preface to Inside Mac Vol. 5.

But I still want to do it!  I know it can be done because some messy graphics
programs change the clut and then forget to change it back after exiting,
hence the picture looks really bad.

I haven't been able to find any CLUT resources in the sytem except the small
finder one that controls the icon colors.

I realize that this will make some things messy, but I have no problems with
an apple colored in fleshtones rather than a rainbow if it makes for an
incredible background screen...

Thanks...

Thomas Summerall
thomas@eleazar.dartmouth.edu

rdsesq@Jessica.stanford.edu (Rob Snevely) (11/30/88)

The best way to I've found to reset the CLUT is with Klutz a p/d da that will 
apply build and save CLUTs.
You can also change it using res-edit. Open up the clut resource and convert
the Red green and blue values to hex. You can change the colors in the
finders color menu this way.

If anybody out there is interested, I can e-mail you a copy of Klutz or
if there is enough interest, I can post it to binaries.

rob

******  DON'T BLAME ME!!  I VOTED FOR BILL AND OPUS!!  ******

stuartb@microsoft.UUCP (Stuart Burden) (11/30/88)

In article <11235@dartvax.Dartmouth.EDU> thomas@eleazar.dartmouth.edu (Thomas Summerall) writes:
     | Programs that allow one to change the background screen to
     | graphic images are great IF that image has colors which
     | are reasonably close to the system CLUT.

     | This breaks down when the pictures have subtle coloring
     | like fleshtones...

     | So my question is...how does one change the system CLUT so
     | that it is in agreement with a given background picture.
     | I haven't seen any background screen programs which do
     | this and there probably aren't any because such a process
     | violates the way color is supposed to be implemented as
     | written in the preface to Inside Mac Vol. 5.

I run a mind numbing series of init's to get this to work for me.
I currently use:

ScreenMaster:  This will load a copy of a graphic into memory and adjust
               the clut. Also provided is an init to reset the clut after
               the picture is desposed from the screen. (I leave this
               init out because I want the new clut to be remembered).
DeskPicture:   This will load the graphic again, but will retain it as
               the desk top picture.  If you have DeskPicture load in
               the same graphic that was previously loaded in by
               ScreenMaster, then the clut is already loaded (something
               that DeskPicture will not do)

ScreenMaster is ShareWare, and may do desktop pics sometime in the future.
DeskPicture, I believe is in the Public Domain.

I make the process more complex by having two minitors (one mono the other
colour) and wanted to have backdrops on both monitors.

Yes, this is possible.  The init to do so, called ColorDesk, by Paul
Mercer, is a comercial application and is available as part of the Screen
Gems package.  ColorDesk alows you to pick which monitor you want your
desktop pic to reside on (a choice that other cdev/init's do not give
you.. now if only it would do multiple monitors.. then I could throw away
all my other inits.. yeh!!.. hows about it Paul?)

     | Thanks...

Hope this helps.

Stu.

BTW, if I get inundated with requests to send ScreenMaster of DeskPicture
to people, I'll post it to the comp.binaries.mac.

__Paths to my door:______________________
stuartb@microsof.beaver.cs.washington.edu
stuartb%microsof@uw-beaver.arpa
stuartb@microsof.uucp
_________________________________________
Usual disclaimer, that all the above is pure fantasy and Microsoft only
gave me the Mountain Dew to dream it all in a caffeine haze  :-{)  :-{)
_______________________________________________________________________