www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/08/07:57:05

From: "Gautam N. Lad" <gautam AT interlog DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help with this PCX displaying source (in DJGPP & GRX)
Date: 7 Feb 1997 22:41:33 GMT
Organization: InterLog Internet Services
Lines: 35
Message-ID: <5dgb2t$7h4@news.interlog.com>
NNTP-Posting-Host: ip220-74.cc.interlog.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
Concerning my PCX question:
Well, to all those who replied, THANKS.  But, the problem here's still
invisible to me.  The Bytes Per Line (like it should) seem to be 
even, and is same as the width of the image.  I tried loading up 
an image that's 160x120, and it displays it, but it looks sliced up 
(NOTE: I displayed the image, using it's dimensions, not 320x200, so
I'm not loading a 160x120 image, using 320x200 resolution).  

I also discovered something else.  An image with very few colours will
load up fine.  It's just not working for images with 256 colour.
WHY WHY WHY!?!?!?

I think my source is right, and should work, but, I just can't figure
out WHY it won't display certain images.

BTW, I'm using Dyeworks to convert a 24-bit TARGA (.TGA) to a .PCX
image, with 256 colours and a palette (version 5).  That's what I
HAVE to use to convert .TGA to .PCX, and then display the .PCX!
Also, DO NOT teach me how to read a .TGA.  I'm not commanding anyone
here, it's just that lately, I ask a specific question, and I get
a different answer (most are annoying, and pretty pointless).


Bye!
****************************************************
* Gautam N. Lad                                    *
*--------------------------------------------------*
*                                                  *
* E-Mail	: gautam AT interlog DOT com              *
* Website	: http://www.interlog.com/~gautam  *
*                                                  *
* OS/2, DOS/Windows, Graphics Gallery, Software,   *
* Links, Rayzor Editor/2, POV-Ray,  and more.      *
****************************************************

- Raw text -


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