Mail Archives: djgpp/1997/08/28/14:37:28
Benny wrote:
>
> Richard Sim wrote:
> >
> I'm having a little problem - I've made a palette for my game but I need to
> convert the palette to a palette type that Paint Shop Pro or Photoshop can load.
> So -- has anyone got a conversion utility for these palettes or could
> anyone help, thanks.
I just dealt with the same problem... I'm using Photoshop 4 and 768
byte palette files. I figured out that photoshop uses 8 bit values for
it's colors and the vga uses 5 bit values. Just load the bytes,
multiply them by 8 (or shift them by 3 bits... byte<<3) and then write
them out with a photoshop palette extension.
Later,
Chris Miller
- Raw text -