Difference between revisions of "InShape file format"

From AtariForumWiki2018
Jump to: navigation, search
m (moved InShape to InShape file format: To allow an "InShape" app page in the future)
Lp (talk)
m (add 32-bit info)
Line 3: Line 3:
  
 
8 bytes        file ID ["IS_IMAGE"]
 
8 bytes        file ID ["IS_IMAGE"]
−
1 word          type [0 = 1 plane, 1 = 8 planes, 4 = 24 planes]
+
1 word          type [0 = 1 plane, 1 = 8 planes, 4 = 24 planes, 5 = 32 planes]
−
1 word          number of image planes [1, 8, or 24]
+
1 word          ? (appears to be planes, but inconsistent)
 
1 word          image width in pixels
 
1 word          image width in pixels
 
1 word          image height in pixels
 
1 word          image height in pixels
Line 14: Line 14:
 
   8 planes is 256 level grayscale, where 0 = black and 255 = white
 
   8 planes is 256 level grayscale, where 0 = black and 255 = white
 
   24 planes is true-color, RGB format, 3 bytes per pixel in R, G, B order
 
   24 planes is true-color, RGB format, 3 bytes per pixel in R, G, B order
 +
  32 planes is true-color, RGB format with alpha, 4 bytes per pixel in A, R, G, B order
 +
 +
From the InShape website:
 +
  The IIM format has several variants:
 +
    - Duochrome.
 +
    - 256 Grayscale.
 +
    - 24 bit (16 million colors).
 +
    - 32 bit (24 bit alpha channel for mask).
 
</pre>
 
</pre>
 
Back to [[ST Picture Formats]]
 
Back to [[ST Picture Formats]]

Revision as of 00:01, 9 January 2017

InShape    *.IIM

8 bytes         file ID ["IS_IMAGE"]
1 word          type [0 = 1 plane, 1 = 8 planes, 4 = 24 planes, 5 = 32 planes]
1 word          ? (appears to be planes, but inconsistent)
1 word          image width in pixels
1 word          image height in pixels
--------
16 bytes        total for header

??              Image data:
   1 plane is monochrome, width assumed to be rounded up to the nearest byte
   8 planes is 256 level grayscale, where 0 = black and 255 = white
   24 planes is true-color, RGB format, 3 bytes per pixel in R, G, B order
   32 planes is true-color, RGB format with alpha, 4 bytes per pixel in A, R, G, B order

From the InShape website:
  The IIM format has several variants:
    - Duochrome.
    - 256 Grayscale.
    - 24 bit (16 million colors).
    - 32 bit (24 bit alpha channel for mask).

Back to ST Picture Formats