Link to home
Start Free TrialLog in
Avatar of SupWang
SupWang

asked on

How to convert all the colours to a constant palette? (standard Windows colours)

Hi all,
How to convert all the colours to a constant palette? (standard Windows colours)

Someone tell me the following, But I don't know how to do that by Photoshop6. Please help me and tell me the detail.

Thanks, supwang

-------------------------------->
Also, using 256 colour bitmaps can cause problems if you use bitmaps with different palettes.  If you
have two or more different bitmaps with different palettes, then you will get colour clashes (which
cause the screen to "swim").  When you get your bitmaps, run them through a program that can convert
all the colours to a constant palette (I use standard Windows colours).
--------------------------------<

-------------------------------->
If you have a system running 256 colours, you are bound to a predefined set of colours - commonly known
as the Windows 8bit Palette.  What this means is, if you load an image with colours outside of the standard
palette, Windows will attempt to pick the closest colour and display that.  Or worse, it will do a palette
switch.  Palette switching is annoying because each time you change Windows (from your app to something
else), Windows swaps the palettes again.  This causes the screen to "swim" (my term for doing palette
alterations).  So you can see this happening, change your system to be running in 256 colours, then
open two different 256 colour images and switch between them.  If they are using different palettes,
Windows will change palettes when you change windows, which makes everything look weird temporarily.
--------------------------------<
ASKER CERTIFIED SOLUTION
Avatar of weed
weed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of webwoman
webwoman

Why? I ask because even if you do try to 'match' the palettes, it won't ensure that everybody sees the same thing. Monitors don't match, don't display the same, have problems, people set them weird, etc.

It's also very likely to shift the colors in the graphic pretty dramatically, especially if it's anything with subtle shifts in tone/shading.

If you're doing an animation, you don't have a choice, you have to convert to 256 colors. But I've always gotten much better results by using adaptive rather than 'web safe' colors.
webwoman: if its for a game with a small palette or a windows system thats only using 256 colors and you have a graphic with a palette outside that 256 range, its going to do nasty things. I dont think wang is doing this for web stuff.
Aha... that would make a huge difference. Games are a whole 'nother beast indeed.
Avatar of SupWang

ASKER

Hi,
I use these bitmaps on program toolbar (16 X 16 bitmaps... )

Why the "Windows System palette" just have 256 colors? How about the 24 bits color bitmap show on the 16 bits color windows?

Regards, supwang
The windows system palette is just a holdover from the days when video cards could only display 256 colors. It wasn an attempt to standardize so that your computer wouldnt have to swap palettes and do weird stuff. Nowadays you can use pretty much any colors you like since almost no one is using 256 colors.
Avatar of SupWang

ASKER

I see now. Thank you very much.

Best Regards, supwang