ComputerEyes Raw Data file format: Difference between revisions

From Atari Wiki
Jump to navigation Jump to search
(New page)
 
m (Updated information)
Line 2: Line 2:
 
ComputerEyes Raw Data *.CE1 (low resolution)
 
ComputerEyes Raw Data *.CE1 (low resolution)
 
*.CE2 (medium resolution)
 
*.CE2 (medium resolution)
  +
*.CE3 (high resolution)
 
 
 
1 long [$45594553 or "EYES"]
 
1 long [$45594553 or "EYES"]
1 word resolution [0 = low res, 1 = medium res]
+
1 word resolution [0 = low res, 1 = medium res, 2 = high res]
8 words ?
+
1 word brightness adjust [0-191]
  +
1 word contrast adjust [0-191]
  +
1 word red adjust [0-191]
  +
1 word green adjust [0-191]
  +
1 word blue adjust [0-191]
  +
1 word ?
  +
1 word ?
  +
1 word ?
 
If resolution = 0 {
 
If resolution = 0 {
 
64000 bytes red plane, 320 x 200, 1 pixel per byte
 
64000 bytes red plane, 320 x 200, 1 pixel per byte
Line 15: Line 23:
 
else If resolution = 1 {
 
else If resolution = 1 {
 
128000 words 640 x 200, 1 pixel per word
 
128000 words 640 x 200, 1 pixel per word
  +
------------
  +
256022 bytes total
  +
}
  +
else if resolution = 2 {
  +
256000 bytes 640 x 400, 1 pixel per byte
 
------------
 
------------
 
256022 bytes total
 
256022 bytes total
 
}
 
}
   
This is almost two formats in one:
+
This is almost three formats in one:
 
 
 
Low resolution:
 
Low resolution:
Line 43: Line 56:
   
 
Bit 15 is not used.
 
Bit 15 is not used.
  +
  +
High resolution:
  +
  +
Image layout not yet known. Appears to be 6-bit grayscale.
  +
  +
These files are created by CE.PRG which comes with the ComputerEyes
  +
hardware. It's not documented in the manual how to create these files.
  +
You must hold down the Alternate key while clicking Save or Load in
  +
the File drop-down menu.
  +
  +
Further more the program PicSwitch v1.0.1 can process these files. This
  +
feature is also not documented.
  +
  +
Indecently CE.PRG and PicSwith are both written by John Brochu.
 
</pre>
 
</pre>
 
Back to [[ST Picture Formats]]
 
Back to [[ST Picture Formats]]

Revision as of 01:58, 3 January 2017

ComputerEyes Raw Data    *.CE1 (low resolution)
                         *.CE2 (medium resolution)
                         *.CE3 (high resolution)
                                
1 long          [$45594553 or "EYES"]
1 word          resolution [0 = low res, 1 = medium res, 2 = high res]
1 word          brightness adjust [0-191]
1 word          contrast adjust [0-191]
1 word          red adjust [0-191]
1 word          green adjust [0-191]
1 word          blue adjust [0-191]
1 word          ?
1 word          ?
1 word          ?
If resolution = 0 {
64000 bytes     red plane, 320 x 200, 1 pixel per byte
64000 bytes     green plane, 320 x 200, 1 pixel per byte
64000 bytes     blue plane, 320 x 200, 1 pixel per byte
------------
192022 bytes    total
} 
else If resolution = 1 {
128000 words    640 x 200, 1 pixel per word
------------
256022 bytes    total
} 
else if resolution = 2 {
256000 bytes    640 x 400, 1 pixel per byte
------------
256022 bytes    total
}

   This is almost three formats in one:
   
        Low resolution:

           The planes are arranged vertically, instead of horizontally.
        The first byte is the red component of pixel (0,0), the second is
(0,1),
        and the third (0,2).  The 201st corresponds to (1,0), etc.  The 64001st
        byte is the green component of (0,0).
           Only the low six bits of each byte are used.

        Medium resolution:

           The picture is arranged vertically, instead of horizontally.
        The first word is pixel (0,0), the second is (0,1), and the third
        (0,2).  The 200th is (1,0) etc.
           Each word is divided up into the RGB values for the corresponding
        pixel, as follows:

          Bit:  (MSB) 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 (LSB)
                      -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
                       0 B4 B3 B2 B1 B0 G4 G3 G2 G1 G0 R4 R3 R2 R1 R0

        Bit 15 is not used.

        High resolution:
           
           Image layout not yet known. Appears to be 6-bit grayscale.

These files are created by CE.PRG which comes with the ComputerEyes
hardware. It's not documented in the manual how to create these files.
You must hold down the Alternate key while clicking Save or Load in 
the File drop-down menu.

Further more the program PicSwitch v1.0.1 can process these files. This
feature is also not documented.

Indecently CE.PRG and PicSwith are both written by John Brochu.

Back to ST Picture Formats