delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/11/17:51:06

Message-ID: <35FE2CA2.5E93@ns.sympatico.ca>
From: Dave Nugent <dave DOT nugent AT ns DOT sympatico DOT ca>
X-Mailer: Mozilla 3.01C-SYMPA (Win95; U)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Help: Converting 24bit bitmap to seperate R,G,B files using Allegro?
Lines: 28
X-Trace: rehcE4r/a9jhOS1Ds2VeHdtWuph5s5GYdkoiXvw1sPHZry/az7YJFQeQMl/H/tvYAuO3BfGnBXAp!tppegP7yah8+D6+vXjU=
X-Complaints-To: abuse AT mtt DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
Organization: Business Internet
Date: Thu, 11 Feb 1999 22:47:04 GMT
NNTP-Posting-Host: 142.177.41.167
NNTP-Posting-Date: Thu, 11 Feb 1999 18:47:04 ADT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello, can anyone tell me if this can be done in Allegro?

Preface: I am trying to write a program that will send an
	 image to a Magicard 300 (tri-sublimation) printer.
	 It uses a film process with a Red, Green and
	 Blue film.  I captured the output from another
   	 program that goes to the printer and discovered that
	 I need to send 3 bitmaps to this printer.  1 Red,
	 1 Green and 1 Blue.  

I want to be able to take a 24 bit color bitmap, and create
3 seperate files from it, 1 for Red, Green and Blue.  The
3 images I saw going to the printer look almost identical
except for shading.  What I noticed is that the file going
to the printer consists of 3 bitmaps in it, Each pixel is 
1 byte (8bit color) (because size of bitmap Xsize x Ysize 
* (3 layers) = filesize.

Is there a command in Allegro that will take my 24bit
color file and convert it to 3 seperate files?  One other
thing I noticed in the capture is that there is NO
palette information going to this printer???  Just the
actual image info.. Is there a standard RGB palette? Or
do I need to find out what this printer uses?

Appreciate any info or suggestions.
Thanks!
Dave.

- Raw text -


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