Re: palette remap

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

>Yeah, well Neil wasn't written with palette reduction specifically in
>mind.. but I did manage to cobble together a program that does the trick.
>It also forced me to write the save_bitmap8 routine for 256-color images.

Pete, I noticed you updated *Neil* (yes, spelled correctly) with font-routines,
and save-bitmap routines, however..
I noticed that the save_bitmap8 routine will not work with images containing
  #RRGGBB pixels, and that save_bitmap24 will not
work with imaging using palette indexes. Couldnt there at least be some
'generic' function that selected the best method for
saving ?

I was wondering as well, why wouldnt both routines be able to save images using
either heximal or indexed pixel format ?

And now we're on the topic, (and since you've written it anyway already) couldnt
your 'reduce-palette' be included in Neil as a
procedure to say 'Free' this many palette entries and in true color mode it is
simply 'does' nothing, something like
'free_palette (38)' .. frees 38 palette entries

>While you're there, warp your mind with a wormhole tunnel effect:

What have you been on ? No.. just joking. Very cool effect blink

Ralf

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

Search



Quick Links

User menu

Not signed in.

Misc Menu