From: "YUBS" 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: 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