www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/09/11:12:29

From: "YUBS" <jdebever1 AT home DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: decoding pcx header
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <T_tr3.8837$K%6.165729@news1.rdc2.on.home.com>
Date: Mon, 09 Aug 1999 05:50:43 GMT
NNTP-Posting-Host: 24.65.39.101
X-Complaints-To: abuse AT home DOT net
X-Trace: news1.rdc2.on.home.com 934177843 24.65.39.101 (Sun, 08 Aug 1999 22:50:43 PDT)
NNTP-Posting-Date: Sun, 08 Aug 1999 22:50:43 PDT
Organization: @Home Network Canada
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

hey there, I'm having some trouble decoding the pcx header. I hunted down
the format and everything, but I still can't seem to be able to read the
dimensions of the image from the header. If anybody knows anywhere I could
get some info on doing this I'd really appreciate it. Basically, I've tried
reading it as a text file and as a binary file, and I've tried reading
character by character and through formatted input (ie using fscanf) but I
can't seem to get it to work. Anyway, thanks for any help you can offer.

-Josh de Bever


- Raw text -


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