Newsgroups: comp.sys.amiga
Path: utzoo!utgpu!cunews!dbuck
From: dbuck@ccs.carleton.ca (Dave Buck)
Subject: Re: DumpToIff Insight
Message-ID: <1990Sep19.020904.9398@ccs.carleton.ca>
Keywords: DKBTrace
Organization: Carleton University, Ottawa, Canada
References: <1990Sep16.175637.16978@clmqt.marquette.Mi.US>
Date: Wed, 19 Sep 90 02:09:04 GMT

In article <1990Sep16.175637.16978@clmqt.marquette.Mi.US> kenb@clmqt.marquette.Mi.US (Ken Baynard) writes:
>
>DumpToIff finally crashed after on me after several successful 
>uses and apparently the reason had to do when I JOINed 2 raw files 
>together.

Technically, the joining of two output files is not yet supported.

> If one could figure a way to 
>eliminate the header of each joined file ($3f019001) then it 
>may be able to go through unscathed.

This is true.  In fact, all you have to do is delete the first
four bytes from the second file and merge it onto the end of the first.
DumpToIFF should read it fine.

For all interested, here's the format of the DKBTrace output files:
 
  wwww hhhh                - width and height
                             16 bits - LSB first
  llll                     - line number 16 bits LSB first
  rr rr rr rr rr ...       - Red data for line. 8 bits each pixel
  gg gg gg gg gg ...       - Green data for line.  8 bits each pixel
  bb bb bb bb bb ...       - Blue data for line.  8 bits per pixel.
  ...                      - Next line.

The color information for red, green and blue ranges from 0 (dark)
to 255 (bright).  Lines go from 0 to "height-1" from top to bottom and
pixels go from left to right.

David Buck
dbuck@ccs.carleton.ca
-- 
_____________________________________________________________________
| David Buck                    | My employer is not responsible for|
| dbuck@ccs.carleton.ca         | my opinions.  I'm not even sure   |
| David_Buck@carleton.ca        | I am.                             |
