www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/21/23:32:56

From: Mihai Moise <moisemih AT ift DOT ulaval DOT ca>
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
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019