#Windows Pallette blues
6 messages in this thread
This may not be the "correct" forum for this question but I have faith in the
autodesk graphics gurus to give me some truth! I am at a loss with windows
color handling when in 256 color mode.
I am developing an app in MMtoolbook to be used in 256 color mode. I need to
include several 256 color flcs & other bitmaps & vector graphics in the app. I
create my vector drawings in coreldraw and would like to access a pallette
created in toolbook so my vector objects do not have dithered fills.
Is there a standard pallette format that can be exchanged between windows apps?
I see a common file extension (*.pal) in coreldraw and mmtoolbook but I cant
open a toolbook *.pal in corel & visa-versa. Also, when I attempt to open the
aawin.pal pallette from toolbook, I get a message that it's not a RIFF
pallette?
also is there any significance to a 96 color pallette that toolbook shows?
does anyone know of a text file primer on windows pallettes on compuserve?
Thanks for your help
Rich Coburn
David –
I moved your question on Pallettes over to the Hardware/Opsystems/Video section
as more of that type of question gets answered in the section. No answers yet
but don't give up hope. As you said, this isn't the Windows forum but maybe
someone can help.
Anne
David,
Although I don't know much about the windows pallette, Bleck Belt has a product
called WinImagesFX which will optimize *.flc's, *.tga's, ….. with a standard
windows pallete. I believe their last upgrade (3.3?) specifically addressed
all sorts of advanced pallette features.
BlackBelt can be contacted online in the Animation Vendor A+ forum and I'm sure
they'll answer specific pallette questions for you.
The WinImages product is < $70 and is an *extremely* powerful FX / morphing
program!
Michael B.
Corel and several other companies use the .PAL extension in ways that
are not compatible with the Microsoft (Windows) .PAL format. Get hold
of Bit Edit and Pal Edit, they come with MM Toolbook 3.0. They will
become your best friends for palette work. Also, Paint Shop Pro from
JASC, Inc in Minnetonka Minnesota has excellent palette handling
tools but unfortunately it also has its own .PAL format. What I do is
work in Paint Shop Pro for color fitting, etc., then save a .BMP or
whatever then load into Bit Edit from which you do a show palette
function then save to file and it will save a Windows (legal) .PAL
palette file. You can also make an identity palette prior to saving
the file if you need the standard Windows interface colors to be
included in the palette.
<<I am developing an app in MMtoolbook to be used in 256 color mode. I
need to include several 256 color flcs & other bitmaps & vector
graphics in the app. I create my vector drawings in coreldraw and
would like to access a pallette created in toolbook so my vector
objects do not have dithered fills.>>
OK, firstly look in the MMTB User Guide at the Appendix B under
"Working with 256-color display devices". All the information on
creating custom palettes and so on for a toolbook is described there.
You can even assign a custom palette to the book so that it is used
for all bitmaps and vector graphics. Also check out
"solidColorsEnabled" in the reference manual.
If after doing that and you still have questions the Asymetrix forum
is a great place to start, since this is where they support their
product. Send a message to Eric Reitan.
Rich, Here's my standard procedure for putting together a palette for
use in a toolbook app. What you need to do is either get a common
palette for every image/flc in your app or switch to black between
images so you don't see the palette change when the new image is
loaded. The best way though is to have every image use the same
palette – this can be done by section with the right app. To generate
a custom palette for a group of images is very easy if you've got 3DS
and animator pro.
1. Put all the images in a seperate directory. This isn't totally
necessary but it makes creating an .IFL for 3ds easier. TO make an
ifl you can type DIR /b >name.ifl You'll need to edit it, as it will
put name.ifl as one of the entries in the .ifl. If you've got images
and animations in different directories you'll have to make an .ifl
that contains the path names too.
2. Once your .ifl is created go into 3DS and in the KF set the number
of frames to the number of images you've got in the .ifl. Set your
.ifl as the background method and render to a .flc with medium
palette enabled. Leave tile on for the background. This will give you
a .flc with the right palette. Watch out – depending on how many
images you've got this can be a huge .flc.
3. Go into animator pro and load the .flc. Set the total frames to 1
so you chop off everything. Now you've got a 1 frame .flc with an
optimized palette. Next make your current cluster contain the entire
palette – all 256 colors. And then do a VGRAD/HGRAD fill with
pic\apply ink. This will fill the screen with all of the colors in
the palette.
4. Back in palette mode do a squeeze and set it to 236 colors. THis
will leave 20 black entries at the end of the palette. If you want to
make a true windows palette you need to have 10 blacks at the
beginning and 10 blacks at the end as windows reserves those entries
for itself.
5. Now save your .flc as a .bmp. I always name it pal.bmp. Since
you're using Tbook you can use bit edit and paledit to read in the
.bmp and create an identity palette for it. This will shift the
palette 10 entries up and give you the ideal windows palette for your
images.
That's all there is too it. There are some more steps you'll need to
go through if you want to reapply that palette back to all of your
images. And there is a nice little utility on C$ somewhere that lets
you do it fairly easily. If you need it let me know. Hope this helps
some. Once you do it a couple of times you'll find that it's really
pretty easy and efficient.
DM