Path: utzoo!utgpu!watmath!clyde!att!rutgers!rochester!pt.cs.cmu.edu!spice.cs.cmu.edu!jwz
From: jwz@spice.cs.cmu.edu (Jamie Zawinski)
Newsgroups: comp.sys.amiga
Subject: IFF viewer, UUencode, Kermit
Message-ID: <3763@pt.cs.cmu.edu>
Date: 4 Dec 88 09:46:05 GMT
Organization: Carnegie-Mellon University, CS/RI
Lines: 48


> From: zlhb0a@apctrc.uucp (Lawrence H. Brown)
> The iff2sun program recently posted doesn't work well for me.
> My first guess is that the iff files are coming back mundged,

Give that man a cigar!  Kermit doesn't work for shit on binary
files, even if you use binary mode.  I've been bitten by this
one before.  You have to use UUencode or something.

>		so like a happy camper, I type (all in ram)
>			uuencode mickey.iff mickey.uu

Welcome to the wide wonderful world of bogus online help.
Ok, UUencode uses the first file name as the file to encode.
Good so far.  The second file name is put on the front of
the output - it is the name of the file that UUdecode
is to produce.  Output goes to stdout, so you have to say

	uuencode mickey.iff mickey.iff > mickey.uu

Hope this helps.

Anyway, I figured I'd mention that I've written an IFF
reader that should run in any implementation of Common Lisp.
I have code for reading ILBMs and 8SVXs, but I think the 
8SVX BODYs aren't being dealt with right, either that or
the TI D/A is much different than the Amiga's.

But, here's the cool part, if you run it on a TI explorer,
it is able to display the ILBMs.  If you have a color
explorer, all the better.  (No HAM yet...  I have to figure
out how to map 4096 colors into a 256 color cmap...)
Mail me if you want it, but you probably don't, you're
probably all C weenies.  (smile!)

Can someone tell me what the various numbers that can show
up in an ILBM CAMG are and mean?

Oh, yeah, here's an obscure bug!  DigiView sometimes writes
out the wrong aspect ratio in BMHDs.  I think it's always
writing 10/11 when sometimes it should be 20/11 (maybe I
have those frations upside-down).

Nerves like nylon, nerves like steel...

 Jamie MAXIMAL RESOURCES Zawinski
 jwz@spice.cs.cmu.edu
 sun!sunpitt!eti!jwz
--