Re: palette remap

new topic     » goto parent     » topic index » view thread      » older message » newer message

>I have a bitmap (a photo) that uses almost all 256 available colors. I
>want to use 64 colors for something else. How do I remap existing 256
>colors into just 192 with a minimal distortion? I would prefer
>Euphoric solution to expensive commercial packages. Anybody with a
>ready-made function? Pete, Colin? Thanks jiri.

You can steal 'Neal' matching function, jiri.
Its in there somewhere. It just matches the colors of a bitmap to the best match
with the current palette, without altering that
palette.
But you will problely be able to use it in that way. Also Lucius Hilley ones
made a library with all kinds of palette routines,
it should be somewhere on the archives.

And you could off course just go 'true color'

Ralf

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu