Mail Archives: djgpp/1996/10/21/23:32:56
Mark Fleig wrote:
>
> Can someone point me to a spot of code that demonstrates how to display, or
> at least create and save a 24bit image under DJGPP/Allegro? I know the pcx
> routine only handles a 256pallete, but someone must have a format routine
> for a fullpallete .PCX or .BMP or .PPM? Anyone?
Allegro does not support 24bpp modes AFAIK. Take a look at svgalib,
grxlib ( now did I spell it wrong, and if so will I be shot? ), and
jlib. All pointers on DJ's web site.
For loading and saving 24bpp BMP images, someone wrote a GIMP plug-in
which does it and is easy to hack. It should not be far from the main
GIMP page which is at scam.XCF.Berkeley.EDU/~gimp.
Mihai
- Raw text -