From: Mihai Moise Newsgroups: comp.os.msdos.djgpp Subject: Re: [Q] truecolor images in Allegro? Date: Mon, 21 Oct 1996 10:51:26 -0400 Organization: Universite Laval Lines: 17 Message-ID: <326B8DEE.41C67EA6@ift.ulaval.ca> References: <01bbbb8d$9e9b95c0$LocalHost AT apache DOT d51 DOT lilly DOT com> NNTP-Posting-Host: britten.ift.ulaval.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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