Mail Archives: djgpp/1997/12/02/14:31:30
Howie Kahn wrote :
>How do you get a pallette from a pcx file so, I can put it in the
>program grabber from allegro. Everythime I use a program like Paint
>Shop Pro and say save pallette and I try to load it in the data file it
>comes up with scrambeled letters. Thanks.
If you are using the grabber utility wich comes with Allegro, it's easy.
You don't have to save the palette, just the PCX-file. Then you run grabber
and "New...palette". Now you just grab the palette the same way you
grab bitmaps:
1. read bitmap (read the bitmap where you want to grab the pallete from)
2. grab pallete to the palette that you've created
Jarkko Laine
e-mail: Jarkko DOT Laine AT ks DOT iwn DOT fi
www: http://www.ks.iwn.fi/~laine/line_a.html
- Raw text -